-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Alert): add FocusTrap props to Alert props #8136
fix(Alert): add FocusTrap props to Alert props #8136
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
size-limit report 📦
|
e2e tests
|
👀 Docs deployed
Commit e3d962c |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8136 +/- ##
=======================================
Coverage 95.53% 95.53%
=======================================
Files 398 398
Lines 11379 11379
Branches 3757 3757
=======================================
Hits 10871 10871
Misses 508 508
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Inomdzhon Mirdzhamolov <[email protected]>
* fix(Alert): add FocusTrap props to Alert props * fix: pick only restoreFocus from UseFocusTrapProps Co-authored-by: Inomdzhon Mirdzhamolov <[email protected]> --------- Co-authored-by: Inomdzhon Mirdzhamolov <[email protected]>
restoreFocus
#8134Описание
Нужно добавить свойства
FocusTrap
в свойства компонентаAlert
, чтобыts
не ругался при прокидыванииRelease notes
Исправления
FocusTrap
в свойстваAlert
, так как они итак прокидывались вFocusTrap
, но ругалсяTS