Between 800-1100px viewport width, the modal is incorrectly sized; it's wider than the page, so you cannot see the X button to close it.

Comments

amoebanath created an issue. See original summary.

amoebanath’s picture

Assigned: amoebanath » Unassigned
Status: Active » Needs review
StatusFileSize
new1.01 KB

Looks like we just want < rather than > :)

slashrsm’s picture

Status: Needs review » Needs work
Issue tags: +D8Media

Please add before and after screenshot.

sanja_m’s picture

Status: Needs work » Needs review
StatusFileSize
new204.54 KB
new202.86 KB

I was able to reproduce this bug on chrome at about 830px viewport width, this patch fixes it, and here are screenshots before and after applying this patch.

slashrsm’s picture

Status: Needs review » Fixed

Removed the extra newline at the end of file. Committed. Thanks!

  • slashrsm committed c66f758 on 8.x-1.x authored by amoebanath
    Issue #2826010 by amoebanath, sanja_m: Make sure modal is never wider...
scm6079’s picture

(EDIT) Just went to fix this, and see there is a patch in place with related issue: 2828023

This patch breaks responsive support! The dialog width is supposed to allow for an "Empty value for responsive width"; however, if you don't enter a value you will always end up with wWidth being greater than the configured width, and will break the option. It's imperative that either this patch is reverted or adjusted to take into account the dialog.options.maxWidth not being set.

As it stands now, enabling responsive support (no width/height set) will cause the dialog to break.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.