You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] AvatarView changes size when setting its ImageSource #3153
The AvatarView that has its ImageSource property initially null unexpectedly changes size when updating its ImageSource property.
Expected Behavior
The AvatarView should keep its 32x32 size.
Steps To Reproduce
Open and run the solution from the reproduction repository
Observe the AvatarView respecting the 32x32 size, being entirely displayed within its circular border.
Press the button
Observe the Avatar displaying the image (which replaces the text) and growing to exceed the 32x32 size, the circle and part of the image being cropped.
Press the button once more
Observe the AvatarView being resized to its original, correct size.
Manually changing the WidthRequest or HeightRequest to a different value (such as WidthRequest - 1) forces the resize and allows working around the cropped image issue.
Activity
Pastajello commentedon Apr 3, 2026
@Jean-RobertLaffineur Yoho!
I've created a PR with a fix. You can check it, maybe review aaand then patiently waiting is all thats left I guess.
Fix: [BUG] AvatarView changes size when setting its ImageSource #3153 (…