Slider: The event listening area for drag events should be the slider instead of the background
hotyes opened this issue · comments
hotyes commented
Please Describe The Problem To Be Solved
The current event listener are adding on the bg instead of the slider, which is counterintuitive.
Sometimes we also want to design the background of the slider as a thin line, but the slider is larger. In the current behavior, it is not easy for the user to drag the slider.
(Optional): Suggest A Solution
Add event listeners to "slider" instead of "bg", or to both.
Dmytro Soldatov commented
Fixed in #137
Dimitris-Rafail Katsampas commented