[docs][base] FocusTrap basic demo not focusing back to the Box in Firefox #37866
Closed
2 tasks done
Labels
browser: Firefox
bug 🐛
Something doesn't work
component: FocusTrap
The React component.
docs
Improvements or additions to the documentation
external dependency
Blocked by external dependency, we can’t do anything about it
package: base-ui
Specific to @mui/base
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://mui.com/base-ui/react-focus-trap/#basics
Steps:
Current behavior 😯
After following the steps, the focus in the Firefox browser returns to the code snippet of the demo instead of the demo box.
Expected behavior 🤔
After following the steps, the focus should return to the Box demo instead of the code snippet in the Firefox browser.
Context 🔦
Originally reported in #37330, it was mistakenly assumed that two separate issues were related to each other. However, they are unrelated. I created this one specifically addressing the Focus trap problem, while keeping the original issue for the Base UI Modal demo. Please note that the issue only occurs in the Firefox browser; it works fine in Google Chrome.
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: