-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: Scroll Lock Issue first: Opening an ActionMenu was not locking the scroll second: We had an issue with body-scroll-lock and MUI's Modal See mui/material-ui#5750 (comment) for more informations. To resume: MUI adds overflow:hidden on body when opening a Modal, body-scroll-lock too (throught Overlay -> ActionMenu). So when opening a Dialog from an ActionMenu, it's result on a conflict between MUI and body-scroll-lock : We can't scroll anymore after closing the dialog. By using React-Remove-Scroll we're avoiding this issue. * docs: Open modal from ActionMenu * refactor: Don't do lot of work when inlining returns as quick as possible * feat: Block Scroll when BottomDrawer is opened * feat: Block Scroll when Dialog is opened * fix: Don't block if the content is smaller We use Overlay when opening an ActionMenu. We don't want to block the scroll on Desktop if the ActionMenu is displayed. * fix: Snapshots * test: Make Dialog sreenshots per example
- Loading branch information
Showing
10 changed files
with
338 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.