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.54k stars 600 forks source link

Online Editor: Preview is not visible anymore by default in Safari #1945

Closed tronical closed 1 year ago

tronical commented 1 year ago

Since https://github.com/slint-ui/slint/pull/1938 the online editor comes up with an empty preview area. Pressing one of the zoom controls makes it re-appear, but by default the area is empty.

Reproducible with Safari on macOS and mobile Safari on iOS. I can't reproduce it with Chrome or Firefox.

Screenshot 2022-12-03 at 09 40 14
tronical commented 1 year ago

It appears that the canvas element is present, although wrongly positioned and somehow not visible:

Screenshot 2022-12-03 at 09 46 42