#17435 closed defect (fixed)
Scrollable context menu disappears when trying to scroll using scrollbar
Reported by: | Colin Snover | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.9.2 |
Component: | Dijit | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Caused by feature #10631.
Reproduction steps:
- Load
dijit/tests/test_Menu.html
- Resize window to be smaller than the context menu
- Right-click to open context menu
- Mousedown on the scrollbar to scroll the context menu
Expected:
Context menu scrolls
Actual:
Context menu disappears
This is because the focused widget is the content of the popup wrapper but the scrollbar is on the popup wrapper. Therefore it appears focus is being established outside the popup and it is closed. This is not an issue for non-context-menu Menu because in that case the wrapper has dijitpopupparent
attribute.
Change History (8)
comment:1 Changed 7 years ago by
Owner: | set to Colin Snover <[email protected]…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 7 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Oops. And this is why I should really not create branches on the Dojo repos.
comment:3 Changed 7 years ago by
Owner: | changed from Colin Snover <[email protected]…> to bill |
---|---|
Status: | reopened → assigned |
comment:4 Changed 7 years ago by
Milestone: | tbd → 1.9.2 |
---|
comment:5 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 7 years ago by
I tried with dojo 1.9.2 build dated 20140219 and i still see the same issue about popup menu disappearing when i tried to use the menu scrollbar
comment:8 Changed 7 years ago by
Well, it works fine for me. See http://downloads.dojotoolkit.org/release-1.9.2/dojo-release-1.9.2/dijit/tests/test_Menu.html. I just dealt w/an issue where IBM had code that overrode dijit/focus._onTouchNode, thus bypassing this fix completely. Maybe that's your problem too.
In c09d8e701b327b43047261165a763b3a28391862/dijit: