question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firefox `beforeinput` event support

See original GitHub issue

What 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:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JessicaSachscommented, Aug 19, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found