Skip to content
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

[docs][base] FocusTrap basic demo not focusing back to the Box in Firefox #37946

Closed
wants to merge 5 commits into from
Closed

[docs][base] FocusTrap basic demo not focusing back to the Box in Firefox #37946

wants to merge 5 commits into from

Conversation

gitstart
Copy link
Contributor

Description

On firefox, FocusTrap doesn't refocus on the element.
This implementation addresses that by scrolling the element back into view.

Closes #37866


This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.

@mui-bot
Copy link

mui-bot commented Jul 13, 2023

Netlify deploy preview

https://deploy-preview-37946--material-ui.netlify.app/

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 076e684

@gitstart gitstart marked this pull request as ready for review July 13, 2023 13:03
@gitstart
Copy link
Contributor Author

@ZeeshanTamboli this PR is ready for review

@ZeeshanTamboli ZeeshanTamboli changed the title MUI-37866 - [docs][base] FocusTrap basic demo not focusing back to the Box in Firefox [docs][base] FocusTrap basic demo not focusing back to the Box in Firefox Jul 15, 2023
@ZeeshanTamboli ZeeshanTamboli added bug 🐛 Something doesn't work component: FocusTrap The React component. package: base-ui Specific to @mui/base labels Jul 15, 2023
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gitstart Thanks for the PR. Actually, #37891 was first opened and it was commented in #37866 (comment) that it will be worked on. But there's an issue in that PR hence I am keeping this PR open.

There's the same issue as #37891 (review) in this PR as shown in the screen recording. If you fix it first, we can consider this PR.

@gitstart
Copy link
Contributor Author

Your feedback has been implemented @ZeeshanTamboli, thanks for the consideration.

@gitstart gitstart requested a review from ZeeshanTamboli July 17, 2023 11:10
@ZeeshanTamboli
Copy link
Member

Thanks for the pull request. I am closing it. See #37891 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: FocusTrap The React component. package: base-ui Specific to @mui/base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs][base] FocusTrap basic demo not focusing back to the Box in Firefox
3 participants