Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM 6.4 Touch UI Dialog - Full Screen JavaScript Event Handlers

mahdern11613285
Level 1
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
smacdonald2008
Level 10
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.