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

How to remove the unwanted scrolling space in Tab of dialog

nileshdchavan
Level 3
Level 3

Hello,

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.

unwantedScrollSpacing.png

Can you please advise how we can remove this unwanted blank space to end my scrolling right after the 5th field?

Thanks!

-Nilesh

3 Replies
Arun_Patidar
Community Advisor
Community Advisor

Hi,

few question

  1. Is this happening for all the dialogs or dialogs within app?
  2. OOTB dialog has same behaviour?
  3. can you do inspect element and check the bank space height css?

If not, could you please check your dialog or share dialog xml here ?

Thanks
Arun

smacdonald2008
Level 10
Level 10

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.

Article - https://helpx.adobe.com/experience-manager/using/aem63_htl_movie_component.html

Ravi_Pampana
Community Advisor
Community Advisor

Hi,

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.