Scrolling within modal dialog (or what to do with really long dialogs)

Answered

Hi,

Is there a way to have the contents of a modal dialog scroll if it doesn't entirely fit on the page?  For example, if I add too many settings to a settings dialog for a build feature plugin, content will go off the bottom of the screen, and the main window scroll bar isn't able to scroll to it.  When the main window scrollbar is moved, the dialog's position stays fixed.  The only way to access the settings at the bottom is to zoom out.

Wrapping all of the contents in something like the following in a build feature plugin's jsp resource:

<div style="overflow: auto">
  <l:settingsGroup title="...">
  <!--- Lots and lots of settings -->
  </l:settingsGroup>
</div>

does not seem to work.  When the page is rendered, the content of the settingsGroup is placed elsewhere in the DOM, outside of that div.

Full disclosure, I am developing against TeamCity 8, so perhaps this isn't an issue in later versions.

Thanks!
-Matt

0
1 comment
Avatar
Permanently deleted user

Turns out that this is not an issue on later versions. The window appropriately scrolls along with really long configuration dialogs.

0

Please sign in to leave a comment.