Firefox `beforeinput` event support
See original GitHub issueWhat would you like?
I would love to get beforeinput
support in Firefox now that Firefox supports it.
Why is this needed?
This would be beneficial to anyone relying on the Firefox beforeinput
event - otherwise that functionality cannot be tested with Cypress. In my case I am building a text editor which relies heavily on this event.
Other
beforeinput
support was added to Cypress last year for Chromium browsers. Firefox has also added support for the beforeinput
event which was added in version 87.
In this PR where beforeinput
support was added there is a check specifically for the Chromium family of browsers. It would be great if Cypress triggered this event for Firefox (87+) just as it does for Chromium browsers.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
HTMLElement: beforeinput event - Web APIs | MDN
The DOM beforeinput event fires when the value of an <input> , or <textarea> element is about to be modified. The event also...
Read more >"beforeinput" | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web ... HTMLElement API: beforeinput event ... Firefox for Android.
Read more >Firefox does not fire beforeinput events #3185 - GitHub
Firefox does not currently support the beforeinput event, which Slate uses under the covers to be notified whenever the user triggers an ...
Read more >HTMLElement: beforeinput event - Web APIs
The DOM beforeinput event fires when the value of an <input> , <select> , or <textarea> element is about to be modified. The...
Read more >Firefox 87 Released, Enables beforeinput Event For Form Inputs
Support added for beforeinput event. This event allows web apps to override text edit behavior before the browser actually modifies the DOM tree ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JessicaSachs here’s a PR (plus draft documentation PR):
It’s not on the roadmap right now and may take us a little bit to get to. Our Firefox userbase is actually quite small, so in order to get the fix in soon, you should consider submitting a PR.