Description
Connect Wallet modal breaks if was closed using swipe
How to Reproduce
Steps to reproduce the behavior:
On the mobile:
- Go to https://swap.cow.fi/
- Click on Connect Wallet
- Swipe the modal down swiftly, so modal should close
- Click on Connect Wallet again
Actual behavior
Modal preserves previous Y position. You can't swipe it again.
Expected behavior
Modal opens with origin Y position(0). You are able to swipe it again.
Screenshots
Video: https://www.loom.com/share/5b8717073b9f46089eeb84e92e4a2caa