Email or username:

Password:

Forgot your password?
Top-level
Konnor Rogers

@mayank `:active` for buttons also never fires on mobile safari unless you have a pointer event on the body 🙃

6 comments
Mayank

@konnorrogers at least that one is not a crucial feature (usually). very strange either way

Konnor Rogers

@mayank I've poked @Lukew about this a couple times. Our best guess right now is that Safari has some fast path that seems to ignore these click handlers when there's no pointer events to worry about. I don't know if he ever ended up investigating

Luke

@konnorrogers @mayank I investigated and reached the point where I needed a debugger which I could never get working for the iOS simulator so I gave up unfortunately. But our hunch is correct based on all I've seen.

Luke

@konnorrogers @mayank as of the next MDN data release the docs for popover should at least reflect the bug and Safari's partial support so that's something.

Mayank

@Lukew @konnorrogers this is awesome! everyone using popover needs to be aware of this bug

Luke

@mayank @konnorrogers at least it's a simple workaround even if it's an incredibly cursed one. I only found it by trying to debug the issue and suddenly it disappeared 🙃

Go Up