fix: blur event handler should be triggered before compoent unmount
Summary
- fix: #25194 blur event handler should be triggered before compoent unmount
How did you test this change?
test case: packages/react-dom/src/tests/ReactDOMRoot-test.js L512~567
Comparing: f2e4ff082dc273b1958423a5fce04833af43f855...86cb17faede8ffb145da26f4242d7c2d70e24067
Critical size changes
Includes critical production bundles, as well as any change greater than 2%:
| Name | +/- | Base | Current | +/- gzip | Base gzip | Current gzip |
|---|---|---|---|---|---|---|
| oss-stable/react-dom/cjs/react-dom.production.min.js | +0.07% | 134.97 kB | 135.07 kB | +0.10% | 43.23 kB | 43.27 kB |
| oss-experimental/react-dom/cjs/react-dom.production.min.js | +0.07% | 141.69 kB | 141.79 kB | +0.10% | 45.23 kB | 45.27 kB |
| facebook-www/ReactDOM-prod.classic.js | +0.03% | 486.26 kB | 486.40 kB | +0.06% | 86.55 kB | 86.60 kB |
| facebook-www/ReactDOM-prod.modern.js | +0.03% | 471.57 kB | 471.71 kB | +0.06% | 84.32 kB | 84.37 kB |
| facebook-www/ReactDOMForked-prod.classic.js | +0.03% | 486.26 kB | 486.40 kB | +0.06% | 86.55 kB | 86.60 kB |
Significant size changes
Includes any change greater than 0.2%:
(No significant changes)
Generated by :no_entry_sign: dangerJS against 86cb17faede8ffb145da26f4242d7c2d70e24067
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.
Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!