slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.56k stars 604 forks source link

Editing text forces inescapable zoom on mobile #2028

Closed jgarvin closed 9 months ago

jgarvin commented 1 year ago

On Android phone running Chrome:

The UI will suddenly zoom in until the text looks absurdly huge, ~72pt, and then won't let you unpinch to zoom out.

ogoffart commented 1 year ago

Thanks for filling an issue.

The online editor is not really compatible with mobile platform at the moment. The frameworks we use (eg, monaco text editor) doesn't support it https://github.com/microsoft/monaco-editor/issues/246

I must say that this is not really a priority for us to get the code editor working on mobile. But any PR is welcome.

ogoffart commented 9 months ago

Closing this issue as we can't support mobile if the monaco editor doesn't support it.