Gutenberg: Link modal box z-index bug

Created on 4 Aug 2017  路  6Comments  路  Source: WordPress/gutenberg

I noticed that when adding a link and having the link modal open that it showed up below the image further down.

screen shot 2017-08-04 at 01 42 23

General Interface Good First Issue [Feature] Rich Text [Type] Bug

All 6 comments

Seems to me this happens only when an image is aligned. Doesn't happen on a default image block:

screen shot 2017-08-04 at 13 11 24

screen shot 2017-08-04 at 13 14 31

This is still the case:

image

Seems this has been fixed? Unable to reproduce in Chrome.

I just checked again. Just playing around with aligning and text shows a few different things. (Testing in Chrome in High Sierra in Desktop Server using Gutenberg 2.0)

screen shot 2018-01-15 at 14 33 11

screen shot 2018-01-15 at 14 37 08

screen shot 2018-01-15 at 14 36 45

Here is also a video: https://www.dropbox.com/s/v19rfd2k4181wgc/Gutenberg2-Aligning-images.mp4?dl=0

Btw I was trying to resize the gallery images in the same way I did with individual images. But there are no resize handlebars for images in a gallery.

Hopefully intelligent resizing can be brought into WordPress Core to use instead of multiple size hard cropped images. Having some kind of intelligent way to calculate the size of a thumbnail from a huge image (But this is a totally different discussion.)

I see. Thank you. I wasn't testing with aligned images.

It looks like this is going to require the link modal to be moved into a different 'Slot', because it's currently locked into a stacking context that won't allow this to be fixed in CSS alone.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nylen picture nylen  路  3Comments

ellatrix picture ellatrix  路  3Comments

maddisondesigns picture maddisondesigns  路  3Comments

moorscode picture moorscode  路  3Comments

spocke picture spocke  路  3Comments