mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
Update 2020-08-10-react-v17-rc.md
This commit is contained in:
@@ -114,7 +114,7 @@ We've kept the breaking changes in React 17 to the minimum. For example, it does
|
||||
We've made a couple of smaller changes related to the event system:
|
||||
|
||||
* The `onScroll` event **no longer bubbles** to prevent [common confusion](https://github.com/facebook/react/issues/15723).
|
||||
* React `onFocus` and `onBlur` events have switched to using the native `focusin` and `focusout` events under the hood, which more closely match the React's existing behavior and sometimes provide extra information.
|
||||
* React `onFocus` and `onBlur` events have switched to using the native `focusin` and `focusout` events under the hood, which more closely match React's existing behavior and sometimes provide extra information.
|
||||
* Capture phase events (e.g. `onClickCapture`) now use real browser capture phase listeners.
|
||||
|
||||
These changes align React closer with the browser behavior and improve interoperability.
|
||||
|
||||
Reference in New Issue
Block a user