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

Fix full screen mode issue where modals windows do not open in the foreground #3908

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gerdesque
Copy link
Collaborator

There is currently an issue with full screen mode where modal windows, when triggered, do not open in the foreground as expected. Instead, they open in the background and are only visible after leaving full screen mode. This results in a poor user experience, as users cannot interact with the modals while in full screen mode. This pull request aims to address and fix this issue. We will ensure that modals always open in the user's immediate view, regardless of mode.

To do this, I have replaced the current react-fullscreen library with a custom fscreen handle component. This was suggested in the following issue of react-fullscreen, see snakesilk/react-fullscreen#63 (comment)

Current:
fullscreen_modal_not_working.webm

New:
fullscreen_modal_working.webm

@gerdesque gerdesque changed the title Fix fullscreen mode issue where modals are not being displayed Fix full screen mode issue where modals windows do not open in the foreground Jun 5, 2024
@gerdesque gerdesque requested review from cbeer and lutzhelm and removed request for cbeer June 5, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant