Initial SVG font size rendering incorrect inside QDialog on Chrome Mobile #17446
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
mode/capacitor
mode/spa
Qv2 🔝
Quasar v2 issues
What happened?
I embedd a svg with text inside a QDialog component. When opening the dialog the font is rendered bigger than specified. After clicking on screen, font-size is corrected.
This happens at least in Chrome Mobile (directly or inside a capacitor app). I could not reproduce it on Firefox (Desktop/Mobile) or Chrome Desktop.
Using the final html of the QDialog component instead of the component itself does not raise the issue.
What did you expect to happen?
SVG text size should be correct on first rendering.
Reproduction URL
https://codepen.io/lepokle/pen/eYwVeNm
How to reproduce?
=> Font is rerendered in correct size
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar), SPA Mode, Capacitor Mode
Platforms/Browsers
Chrome, Android
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: