Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#18965 closed defect (fixed)

Chrome 55 pointer events - TooltipDialog with Select closes when Select dropdown is displayed

Reported by: Nick Nisi Owned by: dylan
Priority: high Milestone: 1.7.12
Component: Dijit Version: 1.12.1
Keywords: Cc:
Blocked By: Blocking:

Description

Example: https://jsfiddle.net/nicknisi/wskdLdLf/

Clicking on the tooltip dialog and then clicking on the displayed text in the select will cause Chrome 55 to close the tooltip dialog.

This looks like it's an issue with the use of pointer events in Chrome 55 in https://github.com/dojo/dijit/blob/master/focus.js#L107. Changing the event value to mousedown fixes the issue, but after further debugging it looks like it may actually be due to the prevention of the preventDefault call in https://github.com/dojo/dijit/blob/master/_HasDropDown.js#L113.

From the comment above this if statement, it looks like this there to prevent an issue in IE10.

Change History (12)

comment:1 Changed 2 years ago by dylan

Milestone: tbd1.12.2
Owner: set to dylan
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 2 years ago by bill

Your test case is already working fine for me on Chrome 55, both mac and windows. This sounds like the bug that was already fixed, ie #18950, #18932. I notice your fiddle is against 1.10.4 but you filed this ticket against 1.12.1.

comment:3 Changed 2 years ago by dylan

I believe we verified this was an issue against master as well, and it was very subtle (in that it would only occur the first time you interact with the select list, when you click on the word that is shown (e.g. olives).

JS Fiddle unfortunately won't support versions newer than 1.10.4 until CDNjs updates their version of Dojo (tickets open on both), though we could set it up using rawcdn to pull in Dojo if needed.

comment:4 Changed 2 years ago by bill

Ah OK, it works if you click on the arrow icon but not if you click on the text. I didn't read your description carefully enough. I can reproduce it on master too.

Last edited 2 years ago by bill (previous) (diff)

comment:5 Changed 2 years ago by dylans <dylan@…>

Resolution: fixed
Status: assignedclosed

In 309ca5e/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 2 years ago by dylans <dylan@…>

In 7dcf247/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 2 years ago by dylans <dylan@…>

In 22d922f/dijit:

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

comment:8 Changed 2 years ago by dylans <dylan@…>

In 9f5957f/dijit:

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

comment:9 Changed 2 years ago by dylans <dylan@…>

In c0037f8/dijit:

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

comment:10 Changed 2 years ago by dylans <dylan@…>

In 1359077/dijit:

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

comment:11 Changed 2 years ago by dylans <dylan@…>

In f695595/dijit:

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

comment:12 Changed 2 years ago by dylan

Milestone: 1.12.21.7.12
Note: See TracTickets for help on using tickets.