Skip to content

Conversation

@hannyle
Copy link
Contributor

@hannyle hannyle commented Mar 13, 2023

Description

Function modifyBrowserPageStyles helped prevent background scrolling when a modal was open, but it hasn't been so efficient to use when we have many modals, and the background jumped to top whenever a modal was open.

This PR tries another solution so that there's no need to fix the background every time we have a new modal, and the background shouldn't jump to top anymore.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Changes Made

  • Removed modifyBrowserPageStyles function and modified css instead

Testing

  • Manual testing

@hannyle hannyle requested a review from emm1R March 13, 2023 12:30
@hannyle hannyle self-assigned this Mar 13, 2023
@hannyle hannyle added the enhancement New feature or request label Mar 13, 2023
@hannyle hannyle requested a review from csc-felipe March 13, 2023 12:33
@hannyle hannyle merged commit 15ef716 into devel Mar 13, 2023
@hannyle hannyle deleted the feature/prevent-background-scrolling branch March 13, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants