Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

[11.2.0-rc1] Content of Popup not rendered correctly after changing size of content

Open hamster620 opened this issue 4 months ago • 1 comments

Describe the bug

After upgrading from 11.1.4 to 11.2.0-rc1, the content of Popup cannot be rendered correctly after changing the size of content. There are two symptoms:

  1. Content will flickers after changing size.
  2. Sometime the content will be stretched into incorrect size.

Please refer to screen recording for mentioned symptoms:

https://github.com/user-attachments/assets/7baacf1d-7865-45ea-8304-8370222a6701

Sample code: PopupNotRenderedProperly.zip

To Reproduce

  1. Add a Popup with content.
  2. Open the Popup.
  3. Change the size of content.

Expected behavior

Content should be rendered correctly with correct scale and without flickering.

Avalonia version

11.2.0-rc1

OS

macOS

Additional context

The symptom occurs only in 11.2.0.

hamster620 avatar Oct 12 '24 13:10 hamster620