Open
Description
When multiple handles are present in a range input, we need a clear strategy for handling thumb collisions. In case handles start to get close to each other it might be hard to use the pointer and select the right handle.
Options to consider:
- Preventing thumbs from occupying the same position
- Visual stacking of thumbs (but then: which thumb appears on top?)
- Implementing a minimum distance between thumbs
- Implement "pushing" behavior where one thumb pushes the other based on the size defined in CSS?
- Allow thumbs to pass through each other, which might open up a whole lot of other problems, but wanted to at least add this as an option. A strong use case would be needed for this though
Questions:
- Should collision handling be configurable, or should we define a single standard behavior?
- How to handle edge cases like programmatically setting values (via JS) that would cause collisions?