-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfestThis issue opts-in into hacktoberfest 2022This issue opts-in into hacktoberfest 2022
Description
Describe the bug
When the modal consists of images the modal faces a shift in layout since initially the images are not loaded and the width/height of the modal remains at minimum.
To Reproduce
Steps to reproduce the behavior:
- Go to https://react-lean-modal.snehil.dev/
- Click on the "Open Modal" button in the example and wait for the images to load.
- See the error
Expected behavior
Modal should stay stable throughout the animation.
Additional context
Maybe a prop can be added to the Modal component to specify whether it's a full-size modal or a compact modal (size depending on content).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfestThis issue opts-in into hacktoberfest 2022This issue opts-in into hacktoberfest 2022