Skip to content

Resizing native element in WASM is behind by a frame, leaving a gap #22144

@clairernovotny

Description

@clairernovotny

Current behavior 🐛

When resizing a browser window that contains a native element, there can be a gap in the sizes until another Uno element outside of the native view triggers a resize (like a hover). @ramezgerges Took a look over a screen share and believes the UI is behind by a frame.

Image

Expected behavior 🎯

The native element should size properly.

How to reproduce it (as minimally and precisely as possible) 🔬

This repros with https://github.com/unoplatform/uno.monaco.editor and the latest SDK (6.5.0-dev.491)

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

WebAssembly

Uno.Sdk version (and other relevant versions) 📦

6.5.0-dev.491

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response

Metadata

Metadata

Assignees

Labels

area/native-embeddingConcerns embedding of native components within a Skia-rendered UIdifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions