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

Suggestion: add drag resistence to drawer #11

Open
christiangusukuma opened this issue Dec 13, 2018 · 1 comment
Open

Suggestion: add drag resistence to drawer #11

christiangusukuma opened this issue Dec 13, 2018 · 1 comment

Comments

@christiangusukuma
Copy link

Hi, first I'de like to say it's a great component!

My suggestion is adding an option to configure some resistence when dragging the drawer down (in px or % of screen height), for example if the user drag it down more than 200px then the drawer will dock or hide, but if the user drag less than that it should snap back to the top.

I dont know, but I think that this functionality will prevent users from unintentionally dragging the drawer.

@toniantunovi
Copy link
Owner

Hi, this is already implemented. But it is not configurable at the moment. It is just hardcoded to 30px. It is definitely a good idea to enable the configuring it.

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

2 participants