Skip to Content
Sep 01, 2016 at 12:53 PM

ActionSheet in OverflowToolbar doesn't stay open


Hello Everyone,

Has anyone tried to use a Button, which opens an action sheet with another 2 buttons (or more, doesn't make any difference), in an OverflowToolbar and make it always overflow?

Well, I tried and the result is not what I expected 😭

As soon as I push the button, that opens the ActionSheet, in the Overflow area, the overflow area disappears (like normal), the ActionSheet is shown for a fraction of a second and then disappears.

I think this happens because since the ActionSheet is opened by a Control (in this case the Button in the Overflow area) and this Control vanishes setting the focus somewhere else, the ActionSheet itself looses the focus and thinks that the Cancel button was pressed (click outside the area of the ActionSheet).

Does anyone know how to prevent this behaviour?

Thanks in advance



button2.PNG (5.0 kB)
button1.PNG (8.5 kB)