Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

sap.m.Button press event broken by MenuButton submenu

$
0
0

Hi,

 

I've run across a situation where I'd like to use sap.m for an app, but I do like the functionality of the sap.ui.commons.MenuButton.  Unfortunately, it seems that as soon a submenu is shown, the press events break for any sap.m components, such as a Button.

 

I've heard that sapui5 and sap.m may not necessarily always be compatible, but perhaps someone has a clever workaround?

 

Below is my JSBin link with a simple example:

 

JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="http://static.jsbin.…

 

If you click the test button first, the event fires correctly.  However if you then click the MenuButton, and then hover over the first menu item to expose the submenu, the sap.m.Button's press event will no longer fire.

 

Any thoughts? 


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>