Forum Discussion
Slider disabled click events
Greetings,
I have a slider which should be able to be locked and unlocked (enabled and disabled). My idea is, on user double click event on this slider to have it toggle between these two states, but I'm not able to make this functionality since when slider is disabled double click trigger does not work on the slider. Tried to create a new state to appear disabled, but I'm not sure how to prevent user from sliding the slider when in this locked state. Any ideas for this scenario?
Have you considered an object on top of the slider that toggles to hidden when double clicked and back to normal when the slider is double clicked.
2 Replies
- jelenaCommunity Member
Yes, but obviously needed coffee when trying that, maybe I messed up something with triggers and variable I added so I couldn't get it to work, but works now. Thank You for Your time.
- RonPricePartner
Have you considered an object on top of the slider that toggles to hidden when double clicked and back to normal when the slider is double clicked.