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

Allow Drawer's dragToClose to be disabled by props #697

Open
lucae4238 opened this issue Oct 27, 2022 · 0 comments
Open

Allow Drawer's dragToClose to be disabled by props #697

lucae4238 opened this issue Oct 27, 2022 · 0 comments

Comments

@lucae4238
Copy link

What problem are you trying to solve?.
When using the drawer with a Google Map, for example, it's impossible to navigate inside it because the drawer closes.

Describe the solution you'd like
It would be nice to disable the drag to close with a prop to the drawer.

Why do you think this feature should be available to all stores?

Any store that wants to use the drawer and navigate easily a Google Map or simply doesn't want to allow users to drag to close the drawer.

Describe alternatives you've considered
I've tried using external libraries for a drawer but they don't work very well in the VTEX environment. Most tend to simply not work. There's also no way to remove the event listeners for the drawer.

Additional context
I'm adding a video of the issue that I explained about the Google Map

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

No branches or pull requests

1 participant