This repo can be used to reproduce the bug related to card modals & full screen modals and switching between them when the modal is opened.
- Clone the repo, install the dependencies and open the simulator (or connect your own device and deploy it on there)
- In Portrait mode, click the blue OPEN MODAL button.
- See the card modal open
- Now flip your device to landscape mode (any side is fine)
- See the full screen modal replace the card modal
- Now close the modal using the blue "CLOSE MODAL" button
- See the bugged screen behind it
To revert it back, do the following:
- Flip your phone back to portrait mode (upside down is turned off, so only "regular" portrait works)
- Notice that the page is still looking bugged (!!!)
- Now open the modal again using the button
- See the card modal appear
- Click the CLOSE MODAL button
- Notice that the page returns to normal
- Flip the phone again
- Notice that the page remains full screen.