AEM 6.4 Touch UI Dialog - Full Screen JavaScript Event Handlers

Avatar

Avatar

mahdern11613285

Avatar

mahdern11613285

mahdern11613285

16-01-2019

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.

Replies

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

16-01-2019

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