Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

AEM 6.4 Touch UI Dialog - Full Screen JavaScript Event Handlers

Avatar

Level 1

Hi,

I was testing the JavaScript functions I wrote for populating the multifield component when the dialog loads and the function used to submit the values from the dialog. Accidentally found out that the touch UI dialog JS functions like....

$(document).on("click", ".cq-dialog-submit", function (e) {

....

});

$(document).on("dialog-ready", function() {

....

});

Do not fire when the touch UI dialog is in full screen layout mode.

Also when you drag the browser to half of your screen and open up the touch UI dialog, it will automatically open in full screen touch UI dialog mode. As a result, all the JavaScript functions I have created DO NOT work and the multifield part which depends on the JS code will not work.

So, is there a JS code that I have to add so that It can handle this exact situation?

Thanks in advance,

Mahder N.

1 Reply

Avatar

Level 10

I talked to our team about this. If this is happening, its a bug. This event should fire. Please open a support ticket.