gdkraus/accessible-modal-dialog

lightbox content not visible when longer than viewport

Opened this issue · 1 comments

because of the fixed positioning parts of the lightbox content are currently not visible if the viewport is too small. a potential fix would be to set the lightbox height relative to the page height (with some margins) and make the lightbox-content scrollable.

I encountered this, too. This makes the whole script useless as websites today are viewed on very small viewports (mobile phones) and thus content is too long very fast.

image