You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Attempt to close the bottomsheet again to circumvent accidental opening on Android.
47
48
// Details: This to prevent a race condition where the close function is called during the point when a internal container layout happens within the bottomsheet due to keyboard affecting the layout
48
49
// If the container layout measures a shorter height than previous but if the close snapped to the previous height's position, the bottom sheet will show up
49
50
// this short delay ensures that close function is always called after a container layout due to keyboard change
50
51
// NOTE: this timeout has to be above 500 as the keyboardAnimationDuration is 500 in the bottomsheet library - see src/hooks/useKeyboard.ts there for more details
0 commit comments