Open
Description
Since I was going through all open issues yesterday and today, I also compiled a list of things that seem broken in ReactDOM, grouped by areas.
I don’t think all of these issues are equally important but I’d like to start a discussion around how we can start attacking them—both in shorter and in longer term. For example any potential fixes to the onChange event logic would need to take #9657 into account (or even inform it).
I think it would be a good topic for our next chat, cc @jquense @aweary @nhunzaker. Maybe we could also broadcast it this time? 😃
Autofill
- Provide a way to handle browser-autocompleted form values on controlled components #1159 Provide a way to handle browser-autocompleted form values on controlled components
- IE 11 and Edge no longer prompt to remember password on controlled form #7328 IE 11 and Edge no longer prompt to remember password on controlled form
- DOM Fixture Form Coverage: Restored State and Auto-fill #10468 DOM Fixture Form Coverage: Restored State and Auto-fill
Composition Events
Issues
- Incorrect data in compositionend event when typing Korean on IE11 #10217 Incorrect data in compositionend event when typing Korean on IE11
- Change event fires extra times before IME composition ends #3926 Change event fires too many times when inputing Chinese characters
-
onChange does not work well with IE11 at Japanese IME. in React 15.4.0 #8423 onChange does not work well with IE11 at Japanese IME. in React 15.4.0
PRs
- Try to generate a beforeInput event for buggy composition scenarios in IE #7926
Try to generate a beforeInput event for buggy composition scenarios in IE - Handle composition events in ChangeEventPlugin #8438 Handle composition events in ChangeEventPlugin
Mouse Enter / Leave
- mouseenter fires on disabled inputs whereas mouseleave does not #4251 mouseenter fires on disabled inputs whereas mouseleave does not
- Mouseenter event not triggered when cursor moves from disabled button #10109 Mouseenter event not triggered when cursor moves from disabled button
- onMouseEnter propagation in double reactroot #7135 onMouseEnter propagation in double reactroot
- onMouseLeave doesn't work if the node gets detached #6807 onMouseLeave not working as expected
- onMouseEnter does not fire on an underlaying element if an element above is removed #13956 onMouseEnter doesn't fire under removed node
Input, Checkbox, and Select
- Change event does not fire in IE and Edge under certain circumstances #4672 Change event does not fire in IE and Edge under certain circumstances
- Pressing spacebar on a checked radio button only fires click in some browsers #4854 Pressing spacebar on a checked radio button only fires click in some browsers
- Input type 'email' as controlled component does not control white spaces #6368 Input type 'email' as controlled component does not control white spaces
- Changing state in onFocus and onChange for a select multiple element does not work in Firefox #6951 Changing state in onFocus and onChange for a select multiple element does not work in Firefox
- <select> onChange not firing when using keyboard #7024 select onChange not firing when using keyboard
- Input onChange not triggered every time in IE11 if e.preventDefault() used #7281
Input onChange not triggered every time in IE11 if e.preventDefault() used - input element
setSelectionRange
after backspace does not work in IE10 #7489 input elementsetSelectionRange
after backspace does not work in IE10 - Radio buttons are not correctly checked when using multiple lists of radio buttons #7630 Radio buttons are not correctly checked when using multiple lists of radio buttons
- input autoFocus causes focus to be emitted before ref #7769 input autoFocus causes focus to be emitted before ref
- Undo behavior in controlled textareas works differently from the default behaviour in chrome #8514 Undo behavior in controlled textareas works differently from the default behaviour in chrome
- IE10 triggers onChange twice when replacing a text selection #8531
IE10 triggers onChange twice when replacing a text selection - textarea + onFocus + stopPropagation = incorrect cursor rendering on Firefox #8642 textarea + onFocus + stopPropagation = incorrect cursor rendering on Firefox
- onBeforeInput fires after Edge updates the DOM #8876 onBeforeInput fires after Edge updates the DOM
- Clear button on iOS date input does not return correct event value #8938 Clear button on iOS date input does not return correct event value
- event.preventDefault in click handler does not prevent onChange from being called #9023 event.preventDefault in click handler does not prevent onChange from being called
- Reset of select ignores defaultValue #11010 Reset of select ignores defaultValue