Email or username:

Password:

Forgot your password?
Top-level
Russ

@mayank I'm not sure the pointerdown worked in some situations or was more trouble that it was worth. Anyway surely this should be fixed by now, it has worked in Safari Desktop for some time and 'light dismissal' is one of the key features of popover.

2 comments
Luke

@russbaldwin @mayank unfortunately I've not seen any commits that look like they've fixed it. It's surprising that such a core feature is broken but then it seemingly always was broken, so their release testing must be lackluster.

I'd be interested to see examples of where pointerdown event listeners on the root didn't fix it. It might help with finding the cause. Our best guess is there's a fast path to avoid handling pointer events when there's no listeners, but this breaks light dismiss.

Luke

@russbaldwin @mayank specifically it seems to be related to a fast path for touch screens not converting presses to pointers events unnecessarily. This is why it works on desktop Safari (and iPad with a trackpad). It's also broken on WPE Android too, so it's not iOS specific but touch devices.

Go Up