ICEfaces
  1. ICEfaces
  2. ICE-6932

Fix modal popup centering within visible viewport

    Details

    • Assignee Priority:
      P2

      Description

      Modal popup is centered based on the entire browser area including the non-visible area. So if the portal page has enough portlets or very large portlets, the modal popup is displayed offscreen (down past the bottom of the browser). The non-modal/draggable doesn't have this issue when auto-centered is turned on.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24778 Wed Jun 08 14:47:52 MDT 2011 mircea.toma ICE-6932 Changed the modal offset calculations by using the visible viewport dimensions and the scroll offsets to properly center the popup even when the page is scrolled.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/core/src/main/javascript/extras/extras.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24777 Wed Jun 08 14:38:49 MDT 2011 mircea.toma ICE-6932 Changed the modal offset calculations by using the visible viewport dimensions and the scroll offsets to properly center the popup even when the page is scrolled.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24762 Mon Jun 06 05:40:13 MDT 2011 mircea.toma ICE-6932 Center modal popup using visible viewport dimensions and the scroll offsets.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/style.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: