I have scenario where my dialog in touch UI has one tab and that tab has 5 fields under it. I have successfully created the cq:dialog and its functioning as expected.
However when i open the dialog, under the 5 fields, there is lots of blank space. Please refer to below snapshot.
Can you please advise how we can remove this unwanted blank space to end my scrolling right after the 5th field?
If not, could you please check your dialog or share dialog xml here ?
This is not normal behaviour. If you setup the dialog properly - there should never be a lot of white space under a field.
Look at the follow video - which represents normal behavior when a touch ui dialog is setup.
Also, check if there are any css from your code added to cq.authoring.editor.hook/cq.authoring.dialog which might be effecting the dialog html. Inspect the white space and see the styles to identify if any of the local css effecting the dialog.