odoo/o-spreadsheet#8531
Created by BI, Adrien Minne (adrm)
Merged
at 43a43780ccb68554aff1ec0eb0ada30aeffbfd6c
Statuses:
- label
- odoo:saas-19.3-named-range-fix-dropdown-adrm
- head
- 772430b46c096ef9793a5e37f13378e0350a682a
- merged
- 1 week ago by BI, Lucas Lefèvre (lul)
| odoo/o-spreadsheet | |
|---|---|
| saas-19.3 | #8531 |
| master | #8696 |
[FIX] named range: keep dropdown open on hover
Description
When opening the named range dropdown by focusing the input, the dropdown would close when hovering the menu items.
This was because hovering a menu item would focus it (to enable for keyboard navigation), which would trigger the onBlur event of the input, closing the dropdown.
Task: 6167171
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