bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

Events being registered by multiple components

On one of my pages, I have a popup. The popup is not dismissible. It can only be dismissed when the user clicks on the cancel label at the bottom of the popup. This is by design and all works well.

There are other components on the popup like input boxes etc.

Here is the problem. When I click the cancel label, not only does the cancel label register the event, but the input box above the cancel label also registers the event. The net result of this in my app is that as the popup closes, the keyboard appears briefly, as though the input box above was selected before returning to the parent page.

This is only happening on the actual iOS devices and not on the browser. Also this started with Appery library version 3.0.

I have tried placing event.stopPropagation() in the click event of the cancel label, but this has not effect.

Thank you for your help in advance.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Events being registered by multiple components

Hello Bahar,

We'll reply via email if you don't mind.

Return to “Issues”