Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Configurable tolerance #5

Open
amannn opened this issue Feb 10, 2017 · 3 comments
Open

Configurable tolerance #5

amannn opened this issue Feb 10, 2017 · 3 comments

Comments

@amannn
Copy link

amannn commented Feb 10, 2017

Thanks a lot for this library! I really appreciate how flexible it can be used for different use cases.

I was wondering if it could be possible to allow the consumer of the component to configure the level of tolerance?

E.g. in your menu example: When hovering over the menu, the items change their state very responsively when moving the mouse straight up and down or of course slightly to the left. However, if the mouse is moved slightly to the right the menu isn't so responsive anymore. Of course, there needs to be a boundary somewhere, but it would be nice if this was configurable.

Thanks in advance!

@gabrielbull
Copy link
Owner

@amannn I agree that it would be nice if it could be configured. If you have time, feel free to submit a PR.

@cwick
Copy link

cwick commented Dec 12, 2017

We need this too for our project, so we may look into adding some kind of minimum velocity setting.

@gabrielbull
Copy link
Owner

@cwick please feel free to submit a PR.

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

No branches or pull requests

3 participants