Text scaling bugs when using dynamic CSS transform and content-editable after clicking on the plot
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 18.3k
- Fork
- 2k
- Merge medio
- 2g 12h
- PR unite (30g)
- 28
Descrizione
Hi, this is a reproducible bug that we have run into in our charts. Unfortunately, this only happens on Chrome browsers which the majority of our users are using.
When using a dynamic zoom level control for scaling, there is unexplainable sizing issues with the annotations on the plot. For whatever reason, this occurs after clicking on the chart.
I have attached a minimal reproducible example with steps:
https://codepen.io/woon2222/pen/XWxRKjN
I am not sure why this occurs when the content-editable element is present.
Here is a video of what happens:
5440e09e-1b8e-4148-9183-0546966f0f62.webm
And some screenshots:


Perhaps someone could shed some light on this or has a workaround that we could use.
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 problema dal CodePen collegato in Chrome, seguendo le interazioni di zoom dinamico, clic sul chart, CSS transform e content-editable. Traccia il modo in cui il chart aggiorna le dimensioni delle annotazioni dopo il clic e confronta il comportamento con e senza l’elemento content-editable. Il lavoro è terminato quando le annotazioni mantengono le dimensioni previste dopo aver fatto clic sul plot.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- css, javascript
- Ambito
- data-visualization, frontend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100