Closed targos closed 10 months ago
Latest commit: |
db25587
|
Status: | ✅ Deploy successful! |
Preview URL: | https://3f4c9652.react-science.pages.dev |
Branch Preview URL: | https://fix-modal.react-science.pages.dev |
Attention: 7 lines
in your changes are missing coverage. Please review.
Comparison is base (
63f093b
) 24.49% compared to head (db25587
) 24.50%.
Files | Patch % | Lines |
---|---|---|
src/components/modal/useDialog.ts | 30.00% | 7 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
BREAKING-CHANGE: Modal's and ConfirmModal's
onRequestClose
is now mandatory. Note that a Modal has to always be closed (isOpen
must be set tofalse
) whenonRequestClose
is called. This is driven by a change in the HTML spec that ensures a web page cannot indefinitely keep a dialog open. See https://github.com/whatwg/html/pull/9462 and https://bugs.chromium.org/p/chromium/issues/detail?id=1511166#c1