Range Slider with multi category repositions if dragging on the gray area
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 18.3k
- Forks
- 2k
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 28
Descripción
I've searched in https://github.com/plotly/angular-plotly.js if there was any issues about the range slider jumping randomly but there was not much but plotlys main repo had a few that were somewhat related but not exactly.
I've been wanting to use angular-plotly for my application since it had range slider and multi category axis with an easy api but i've noticed that when the user were to slide on the gray area to the far left or far right, the range slider would reposition to the top suddenly and would cause the x-axis to disappear.
Sometimes simply dragging in the gray area would cause the repositioning and a jumpy range change.
I thought maybe this was just the angular-plotly since the range slider example i copied from was https://plotly.com/javascript/range-slider/ , where there was no range slider reposition when sliding,
but it appears that this jumping also happens in the vanilla js.
Reproducible Ex:
https://stackblitz.com/edit/js-7ietfq?file=index.js%2Cpackage.json
start sliding in the gray area (left or right):
ends up after sliding:
my quick and toplevel guess is that the quickest temporary fix would be if somehow the library just disabled/prevent any interaction on the gray area and restrict only to using the handle bars until there is a fix?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con la reproducción vinculada de StackBlitz, especialmente con index.js y package.json, y reproduce el arrastre del range-slider en el área gris con un eje de múltiples categorías. Sigue la interacción del range-slider de ese ejemplo y verifica que arrastrar desde cualquiera de los dos bordes ya no mueva el slider hacia arriba, oculte el x-axis ni provoque un cambio brusco del rango.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- data-visualization
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100