You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick test shows that onselectstart does exist in the interface (e.g., "onselectstart" in document is true) but if it never fires fire, that's a bit misleading. I propose that we mark the feature as supported with a partial_implementation set to true and a note saying, "The selectstart event never fires and never invokes this handler."
What information was incorrect, unhelpful, or incomplete?
The table lists iOS among the devices supporting the
selectstart
event.selectstart
does not to be supported by iOS 12 at least.That behavior seems to be known at least since 2016, cmp. https://gist.github.com/robertknight/ad9f1bca8280b3fa325817aa3ed9935c, so other iOS versions are likely to be affected, too.
CanIUse lists iOS 14 as minimum version, see https://caniuse.com/?search=selectstart
What did you expect to see?
I expected the
selectstart
event to be fired when starting to select text.Did you test this? If so, how?
Yes. I used https://codepen.io/otacke/pen/wvodGZW to verify that the
selectstart
event is in fact not fired.MDN page report details
api.Document.selectstart_event
The text was updated successfully, but these errors were encountered: