-
-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v4] | [v2] Index log -1 on small snapPoints from portrait to landscape #1589
Comments
This is causing the active bottom sheet to close when users change device orientation on iOS. In my case, I'm passing |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Same problem |
@joeporpeglia Did you find a workaround? Getting the following logs: LOG handleSheetChanges 0 But the modal still disappears when changing to landscape mode |
No unfortunately I haven't been able to fix |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Also seeing the same. I had to put in place a quite hackish workaround where I wait 100ms before doing my onDrop-logic (which is cancelled if there is a another sheet change before 100ms has passed).
|
Bug
When you change orientation of device (portrait to landscape ONLY) the bug will be appear.
On small snapPoints we can see log with -1 as value.
If you change orientation with a big snapPoints. index will be not pass to -1
Environment info
Steps To Reproduce
Describe what you expected to happen:
On small snapPoints and when the orientation changes, the index should not pass to -1
Reproducible sample code
Reproducible repo: https://github.com/emendo-web/bs-orientation.git
The text was updated successfully, but these errors were encountered: