maui
maui copied to clipboard
In Iphone13 (ios 15.0) version button click events not working fine in iphone 16 working fine
Description
Button click event is not working fine. In Iphone13 (ios 15.0) version button click events not working fine in iphone 16 working fine
Steps to Reproduce
<Button Text="GetStarted" Command="{Binding GetStartedCommand}" FontSize="18" BackgroundColor="blue" HeightRequest="50" WidthRequest="150" TextColor="White" HorizontalOptions="Center"> </Button>
Excepted result:- this click event need to work in both iphone 13 and iphone 16 Actual result :-In Iphone13 (ios 15.0) version button click events not working fine in iphone 16 working fine
Link to public reproduction project repository
No response
Version with bug
8.0.82 SR8.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
iOS
Affected platform versions
Ios 15.0
Did you find any workaround?
No response
Relevant log output
No response
hi,
there is nothing much code have wrote , Please take single button and test in iphone 13 (ios 15). below code have written in my xaml.
<Button Text="GetStarted" Command="{Binding GetStartedCommand}"
FontSize="18"
BackgroundColor="blue" HeightRequest="50" WidthRequest="150"
TextColor="White"
HorizontalOptions="Center">
</Button>
@PureWeen @samhouts Any update on this bug?
@PureWeen @samhouts Any update on this bug?
Do you see the same behavior with the MAUI template app?
yes, By creating new app it self it is not working fine.
This bug is still there. Tested with iPhone 12 mini (Same simulator works fine)
I can't reproduce this and if people actually couldn't click buttons I would think that we would see a lot more people reporting this. So please provide a reproduction project or more details for us to look at, else I think we'll be closing this one.
Thanks!
I have managed to get this fixed. For whoever comes here looking for a solution, simply replace the VerticalStackLayout (or maybe any other stack layout you have the buttons in) with a Grid. All good with that.
Seems like some edge case which is hard to reproduce. Going to close this for now. If anyone stumbles on this and is still seeing this, please open something new. Thanks everyone!