cancel
Showing results for 
Search instead for 
Did you mean: 

ActionSheet in OverflowToolbar doesn't stay open

adrian_zguri
Explorer
0 Kudos

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

Adrian

Accepted Solutions (1)

Accepted Solutions (1)

adrian_zguri
Explorer
0 Kudos

With the release of the version Openui5 1.40 this problem is resolved (didn't test it yet though) as mentioned in the release notes.

  • sap.m.OverflowToolbar: The overflow menu is now configurable to remain open if the selected element triggers sap.m.ActionSheet or sap.m.Popover.

Answers (0)