Button (click) handler not receiving parameter on Android

OK, I found out that on Cordova, it depends on the area where exactly I push the buttons. This was not at all clear on the touch screen, but I can simulate the same thing on Windows UWP build with mouse.

If I click near the center vertically it does not pass the button event to the handler (although the button is called everytime). If I click near the button top or bottom, it works correctly.

So, I got this idea from here:

But after loosing a day on it… I must say that’s just a bad solution. The target ID depends on the div you click, that means that clicking the caption will actually give you the ID of the caption. Will have to create a separate handler for each button, although the behavior is the same and only takes the ID and does something with it…