Hovertemplate's text does not change between sliders.steps when on mobile and there's also no method of closing the tool-tip once opened
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 18.3k
- Fork
- 2k
- Merge medio
- 2g 12h
- PR unite (30g)
- 28
Descrizione
I have a stacked bar chart with two simple traces and two sliders.steps.
Each trace has a hovertemplate: "%{y} - %{x:.2f}% <extra></extra>" property.
On mobile when I touch a bar I get its appropriate hovertemplate text, which is good.
But from here there are two issues:
- first is that no matter where I touch on the screen, the hovertemplate won't disappear . So once opened, it's always open.
- the second issue is that if the hovertemplate is open and I change from one slider step to the other, the info in the tool-tip does not change with the appropriate info from the selected step.
Here is a simple bar chart that, when switched to mobile, behaves how I described: https://es7kb8.csb.app/
Here is the code: https://codesandbox.io/s/relaxed-brahmagupta-es7kb8?resolutionWidth=484&resolutionHeight=675&file=/src/App.js
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comportamento mobile nel CodeSandbox collegato, alla risoluzione mobile fornita, usando il grafico a barre impilate con due traces e due sliders.steps. Traccia come lo stato di hovertemplate reagisce alla chiusura tramite touch e alle modifiche degli slider; il lavoro è completato quando il tooltip può essere chiuso su mobile e, mentre è aperto, si aggiorna con i dati dello step selezionato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- data-visualization, frontend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 32/100