-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageButton Padding not working when manipulate IsVisible On Android #16713
Comments
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process. |
Does this also happen with other layouts? a Grid for example? |
@mattleibow |
Verified this on Visual Studio Enterprise 17.8.0 Preview 1.0. Repro on Android 13.0-API33 .NET 8, not repro on Windows 11 ans iOS 16.4 with below Project: |
Verified this on Visual Studio Enterprise 17.9.0 Preview 1.0. MAUI-8.0.3. Repro on Android 14.0-API34. |
I have the same issue with ImageButton after make it visible. I have a workround for me - re-change Paddings: |
Description
If IsVisible of the ImageButton or IsVisible of another View on the same level as the ImageButton changes, the Padding of the ImageButton is disabled.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/muak/Maui.ImageButtonIssue
Version with bug
8.0.0-preview.7.8842
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms, Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android13
Did you find any workaround?
This can be avoided by calling Page's
ForceLayout
.Relevant log output
No response
The text was updated successfully, but these errors were encountered: