Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#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:

  1. Load dijit/tests/test_Menu.html
  2. Resize window to be smaller than the context menu
  3. Right-click to open context menu
  4. 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 6 years ago by Colin Snover <github.com@…>

Owner: set to Colin Snover <github.com@…>
Resolution: fixed
Status: newclosed

In c09d8e701b327b43047261165a763b3a28391862/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:2 Changed 6 years ago by Colin Snover

Resolution: fixed
Status: closedreopened

Oops. And this is why I should really not create branches on the Dojo repos.

comment:3 Changed 6 years ago by Colin Snover

Owner: changed from Colin Snover <github.com@…> to bill
Status: reopenedassigned

comment:4 Changed 6 years ago by bill

Milestone: tbd1.9.2

comment:5 Changed 6 years ago by Bill Keese <bill@…>

Resolution: fixed
Status: assignedclosed

In 2365cccb927af7b7f8f6c9613ba95f47ee0cdc1e/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:6 Changed 6 years ago by Bill Keese <bill@…>

In 447776aecc71c7d77c0497de07b14a39936f1232/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:7 Changed 5 years ago by murtdagi

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 5 years ago by bill

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.

Note: See TracTickets for help on using tickets.