Skip to content

Provide option to disable clicking inside of a range #388

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

Closed
dereklin opened this issue Aug 7, 2016 · 1 comment
Closed

Provide option to disable clicking inside of a range #388

dereklin opened this issue Aug 7, 2016 · 1 comment

Comments

@dereklin
Copy link

dereklin commented Aug 7, 2016

Here is my plunker: https://plnkr.co/edit/63CT3SHxP0AbYKDB0AVX?p=preview

2014 is within the range, when you click on it, it changes the range. Is there a option to disable that behavior. Instead, when you click inside of range, I want to activate the dragging/sliding.

The issue is sometime when I have to drag the range, I would accidentally click and change the range instead. In order to change to range, one has to either click outside of the range or use to left and right handle to adjust the range.

@ValentinH
Copy link
Member

Clicking is disable when clicking in the middle of a range while using draggableRange: true : http://jsfiddle.net/pnnef5jo/ . The behaviour in your demo is due to the usage of opacity to hide the ticks as I wrote in #382

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