1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Won't Fix Overlays bigger than window

Discussion in 'Resolved Bug Reports' started by Jeremy P, Dec 16, 2010.

  1. Jeremy P

    Jeremy P Well-Known Member

    Predicting this is "Wont Fix" or "As Designed" but thought I'd mention anyways.

    I have a long-ish form that was linked from an OverlayTrigger. Unfortunately, users with smaller resolutions could only view part of the form. Since overlays are position: fixed;, scrolling doesn't work.

    As a work-around, I've written a custom JS function that basically compares the position of the bottom of the form with the height of the window viewport. If it comes up short, it redirects to the standalone page for the form.

  2. Mike

    Mike XenForo Developer Staff Member

    I'm assuming this is custom code? If so, then it's won't fix. I wouldn't really recommend long forms in overlays on the whole, as the overlay can be quite easy to accidentally dismiss.

    Though as a note, there's the OverlayScroller class (or a similar name). It's primarily used with non-form elements, so I'm not sure how it'd look visually in a form overlay.
  3. Jeremy P

    Jeremy P Well-Known Member

    Custom code, yes. The form isn't too long really, but long enough to have a few users complain about the issue. I'm not really concerned with it being dismissed, as upon reopen it retains input, and haven't heard any complaints about that.

    Thanks for pointing out the .overlayScroll class though, it looks alright in a form overlay (had to make some minor css adjustments).

Share This Page