Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ScrollBar unavailable when showing modal window

    Hi,
    I'm using SmartGWT 3.1p-2013-02-20 and I'm seeing a problem with modal windows.
    When a modal window is created and the blocking mask is applied it overlaps scrollbars. The problem is that when the user resize the browser the modal window can be hidden, and the user can't use the scrollbar to make it visible again. The only solution is to resize the browser.
    Any workaround?

    #2
    Please fill in all the information the forums prompts you for - aside from the browser and version, you haven't specified how to reproduce this. Note that modal windows do not block the native browser scrollbar.

    Comment


      #3
      This can be tested in the showcase at url:
      http://www.smartclient.com/smartgwt/showcase/#layout_windows_modality
      1. Enter the page with window browser maximized
      2. Open the modal window clicking on "show window"
      3. Unmaximize the window browser
      The bottom scrollbar is disabled. Note that this isn't the native browser scrollbar.
      I've sent a screenshot to illustrate.
      Attached Files

      Comment


        #4
        This is all by design. Scrollbars on SmartGWT container widgets are not special with respect to modality. If you're concerned about whether a modal dialog will be reachable without resizing the browser, set autoCenter:true.

        Comment


          #5
          It worked well, thanks.

          Comment

          Working...
          X