odoo/o-spreadsheet#7194

Created by BI, Rémi Rahir (rar)

Blocked

label
odoo:saas-18.4-fix-ribbon-menu-scroll-rar
head
9165a5af19f6626f6228f64a32c817cc9bc22da0
odoo/o-spreadsheet
saas-18.4 #7194 missing r+
19.0
master

[FIX] RibbonMenu: reset scroll value on menu exploration

How to reproduce:

  • Open the ribbon menu
  • select "insert"
  • scroll the menu completely
  • select "Functions"

The scroll is persistent from the previous menu and we arrive in the Functions menu already scrolled, issue that is highlighted by the fact that scrollbars are hidden by defaut on mobile browsers.

This revision resets the scroll when ;oving from one menu section to the other.

[FIX] RibbonMenu: hint the scrollable menu

Currently, it is not quite clear that the ribbon menu can be scrolled as
the scrollbars are not displayed by default on a mobile browser (or on
some desktop browsers like firefox).

This revision adds some style that will hint the possibility to scroll
either to the bottom or top of the menu depending on the current
scrolling value.

task-5106796

Description:

description of this task, what is implemented and why it is implemented that way.

Task: 5106796

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo