Skip to content

Commit

Permalink
Update packages/mui-material/src/Unstable_TrapFocus/FocusTrap.test.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Zeeshan Tamboli <zeeshan.tamboli@gmail.com>
Signed-off-by: Attila Greguss <69147407+Greg-NetDuma@users.noreply.github.com>
  • Loading branch information
Greg-NetDuma and ZeeshanTamboli authored Oct 3, 2024
1 parent 511321d commit e38ff19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ describe('<FocusTrap />', () => {
{/* This will have the starting focus, but cannot be focused afterwards
as https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
If yoy would want this to remain focusable you should use a positive tabindex
If you would want this to remain focusable you should use a positive tabindex
*/}
<button data-testid="third" tabIndex={-1} />
</div>
Expand Down

0 comments on commit e38ff19

Please sign in to comment.