SuavePirate / Xamarin.Forms.Controls.FloatingActionButton

A custom view to create a FloatingActionButton for both Android and iOS as part of Material Design
MIT License
120 stars 38 forks source link

Event Clicked not Firing if VerticalOptions=Start (any version) #18

Open mcferdev opened 6 years ago

mcferdev commented 6 years ago

So, i was testing the latest version and also pre-release version to check the updates of shadows, etc... For my surprise, i had a FAB Button on VerticalOptions= End of page and was Ok. I changed to Start and the Event Clicked are not been fired. Althought the button appear normally. At 2018.1.5 and pre release 2018.3.1-pre1 Tested on Android 7.0 Api 24 (Galaxy S8 Device)

My structure is:

<contentpage>
<grid>
<Fabbutton HorizontalOptions="End" VerticalOptions="Start"/>
<StackLayout/>
</grid>
</contentpage>

Update: All versions tested and no one works.

SuavePirate commented 6 years ago

What about with version 2017.10.17 ?

mcferdev commented 6 years ago

Not firing...any version. I tested all

SuavePirate commented 6 years ago

This sounds like something else is going on with your layout and not the control itself since I use this control all over the page with different layout options. If you replace it with a regular button, does it work?

mcferdev commented 6 years ago

Yes. Works!! Thats very strange.

2018-05-24 10:47 GMT-03:00 Alex Dunn notifications@github.com:

This sounds like something else is going on with your layout and not the control itself since I use this control all over the page with different layout options. If you replace it with a regular button, does it work?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SuavePirate/Xamarin.Forms.Controls.FloatingActionButton/issues/18#issuecomment-391720784, or mute the thread https://github.com/notifications/unsubscribe-auth/AQiRLLJy4-XC_svBY-FBtTZWc2Blp9_Kks5t1rncgaJpZM4SwnrG .

SuavePirate commented 6 years ago

Were you able to get it to work? I'm not sure by your last message if you mean that a regular button works but the fab doesn't or if you got the fab to work

mcferdev commented 6 years ago

Sorry !! So, the regular button work if I change. Just the fab has the problem... Also, if i create a Frame and add a click event, works. I also tried to add a click event manually to the fab, how i did with the frame, but didn´t work.

2018-05-29 10:11 GMT-03:00 Alex Dunn notifications@github.com:

Were you able to get it to work? I'm not sure by your last message if you mean that a regular button works but the fab doesn't or if you got the fab to work

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SuavePirate/Xamarin.Forms.Controls.FloatingActionButton/issues/18#issuecomment-392770355, or mute the thread https://github.com/notifications/unsubscribe-auth/AQiRLCVYbYFbF_v0Bk4QTzadbSMVYR_Vks5t3UkegaJpZM4SwnrG .

SuavePirate commented 6 years ago

Is it working on iOS? Is the problem just Android?

WilvdMerwe commented 4 years ago

Having the same problem. Command not firing, TapGestureRecognizer attached to control also not working.