Skip to content
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

Faster Interaction with Beneath Views during dismiss #1917

Closed
vancerbtw opened this issue Aug 16, 2024 · 4 comments
Closed

Faster Interaction with Beneath Views during dismiss #1917

vancerbtw opened this issue Aug 16, 2024 · 4 comments
Labels

Comments

@vancerbtw
Copy link

Feature Request

Pointer events should be set to none on BottomSheetModal when close animation begins. Currently it is not possible to interact with my app underneath the bottom sheet until the sheet has fully closed.

Why it is needed

Currently this introduces delay and makes my app not feel smooth when closing the sheet. Users must wait a few hundred milliseconds for modal to fully finish closing before scrolling again in a scroll view

Possible implementation

Option to set pointer events to none on entire modal when animation begins.

Code sample

<BottomSheet
  ref={sheetRef}
  snapPoints={snapPoints}
  disableInteractionsWhileHiding={true} // !!! EXAMPLE
  ....
 >
@vancerbtw vancerbtw added the enhancement New feature or request label Aug 16, 2024
@vancerbtw
Copy link
Author

Anyone else need this or have a workaround? :P

Copy link

github-actions bot commented Oct 6, 2024

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.

Copy link

github-actions bot commented Nov 7, 2024

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.

Copy link

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants