Avalonia
Avalonia copied to clipboard
[11.2.0-rc1] Content of Popup not rendered correctly after changing size of content
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:
- Content will flickers after changing size.
- 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
- Add a Popup with content.
- Open the Popup.
- 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.