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

Modal popups generated are trapped inside "drop-shadow" classes #151

Open
dave-mills opened this issue Jan 9, 2025 · 0 comments
Open

Modal popups generated are trapped inside "drop-shadow" classes #151

dave-mills opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working front-end question Further information is requested

Comments

@dave-mills
Copy link
Member

When a modal popup appears, it is (for some reason) constrained to appear inside the bounds of an element with the drop-shadow-xl class (which is applied by the surveyblocks class). On smaller windows, this can prevent a modal from taking the space it needs, even when that space is technically available. Even on larger windows, this means the pop-up usually appears lower on the page instead of in the middle of the window.

Example - with drop-shadow-xl class:

CleanShot.2025-01-09.at.15.57.31.mp4

Example - with drop-shadow-xl removed:

CleanShot.2025-01-09.at.15.58.41.mp4

I have no idea why this happens.

TODO:

  1. Either - figure out a way of keeping the drop-shadow effect while letting modals appear in the middle of the window at the proper size
  2. Or - decide to remove the drop-shadow effect.
@dave-mills dave-mills added bug Something isn't working front-end question Further information is requested labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front-end question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant