[BUG] AvatarView clipping on Android isn't applied correctly
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Current Behavior
I updated to latest version yesterday and this issue appeared, when I use toolkit AvatarView
Expected Behavior
before update the AvatarView control was working well as I expected … the circle image showing well without black borders or black background as I show you in Current Behavior section in images.
Steps To Reproduce
- Add an AvatarView control.
- Set as the ImageSource a Uri as image.
Link to public reproduction project repository
https://github.com/GeorgeLeithead/CommunityToolkitMaui/tree/510-Bug
Environment
- .NET MAUI CommunityToolkit: 1.2.0
- OS: Windows 10 Build 10.0.19041.0
- .NET MAUI: 6.0.408
Anything else?
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Border-Clipping Issue In Android #10311 - dotnet/maui
If you apply a background color to the image you can see that it is clipping but the size is not correct.
Read more >Xamarin.Forms 5.0.0.2612 (5.0.0 Service Release 15) ...
Release notes detailing new features, improvements, and issues fixed in Xamarin.Forms 5.0.0.2612 (5.0.0 Service Release 15)
Read more >CommunityToolkit/Maui 1.4.0 on GitHub
Note Expander is not currently supported inside of CollectionView or ListView: #742 ... FIX: AvatarView clipping on Android isn't applied correctly by ...
Read more >Essential Studio for Xamarin.Forms Release Notes
#243890 - [Android] CustomMarker is not clipped when applying translation to template child view. #241737 - [Android, iOS] Marker will be ...
Read more >ImageView | Android Developers
ImageView is also commonly used to apply tints to an image and handle image ... Whether the View's Outline should be used to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pictos No, but I very much suspect it is an effect from applying the clip rect bounds and starting from 0,0 instead of taking into account the border width. Assign to me and I can investigate and resolve as appropriate.
@GeorgeLeithead, is this familiar to you?