-
Notifications
You must be signed in to change notification settings - Fork 77
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
deprecate focusTrapDisabled
property
#8982
Comments
focusTrapDisabled
propertyfocusTrapDisabled
property
Should we do the same for Sheet? |
Looks like it's the same visibility issue with the scrim, so yeah. |
focusTrapDisabled
propertyfocusTrapDisabled
property
I think we should do the same for If we deprecate this property, we can rely on cc @jcfranco |
Actually, we still need Maybe we should keep this prop for any component that would be used inside another. |
focusTrapDisabled
propertyfocusTrapDisabled
property
Spike needed to determine any refinements and considerations across components and the design system. |
As per group discussion we won't be addressing It also makes sense to offer support for @Kitty @franco @skye @aaron @driskull Also shared here: fix(input-date-picker, modal, sheet): closes on escape when focusTrap is disabled #10578 Next steps:
|
Description
Deprecate the
focusTrapDisabled
property.Modal and Sheet add a scrim that makes it difficult to see where we are tabbing outside of these components. Removing the prop would help avoid this issue.
The prop was introduced for consistency, but there seems to be no clear reason why the
focus-trap
would need to be disabled on modal or sheet.Related to: 6456
Which Component
modal, sheet
Resources
No response
The text was updated successfully, but these errors were encountered: