gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

in Gallery Block we are not able to view the character in drop down because of line height

Open kmadhak opened this issue 6 years ago • 14 comments

Describe the bug in Gallery Block we are not able to view the character in drop down because of line height

Steps to reproduce the behaviour:

  1. Go to 'Editor'
  2. Add new page
  3. Click on 'add block'
  4. Select the block 'Gallery'
  5. Add images in Gallery
  6. View the options of 'Image size' drop down
  7. See error

Expected behaviour We have to show the characters properly

Screenshots https://prnt.sc/voe9pu

Video for more detail please view the attached video https://www.loom.com/share/d1a011a7ec0e42578919deec867461f4

Editor version: WordPress version: 5.6-RC1

Desktop: OS: Windows Browser chrome Version 86.0.4240.193 (Official Build) (64-bit)

kmadhak avatar Nov 23 '20 12:11 kmadhak

I can reproduce this in Chrome on Windows; on macOS it's hard to notice as only the very tip of the letter is cut off.

tellthemachines avatar Nov 27 '20 00:11 tellthemachines

Hello @tellthemachines,

As the WordPress version 5.6 is release and I have checked this issue and it is not resolved, please look into it.

Screenshot: https://prnt.sc/w4n79n

Thank you.

kmadhak avatar Dec 17 '20 11:12 kmadhak

@kmadhak can you please check of the issue is still present? I've just tried to reproduce it but it seems to have been fixed already.

I'm on WordPress 5.6 without the Gutenberg plugin installed. Checked on Firefox Developer Edition, Chrome and Safari.

JustinyAhin avatar Jan 18 '21 08:01 JustinyAhin

@JustinyAhin I can still reproduce the issue on 5.6 with or without the Gutenberg plugin. It's much more noticeable on Windows; on macOS only the very bottom edge of the "g" gets cut off.

tellthemachines avatar Jan 21 '21 04:01 tellthemachines

Hello @JustinyAhin and @tellthemachines,

Greetings of the day!!!

I would like to know the progress of this issue, please let me know if you need more detail on it.

Thank you.

kmadhak avatar Apr 27 '21 05:04 kmadhak

@kmadhak I can not reproduce the issue on a fresh WordPress 5.8-alpha-50761 installation (with and without the Gutenberg plugin). I am on macOS, so it may not be noticeable there as @tellthemachines said.

Do you work on a Windows environment so that you can test?

Thanks :)

JustinyAhin avatar Apr 27 '21 11:04 JustinyAhin

Hello @JustinyAhin ,

Greetings of the day!!!

Yes, I am using Windows OS, and on that I am facing issue.

Thank you.

kmadhak avatar Jun 28 '21 10:06 kmadhak

Hello @JustinyAhin and @tellthemachines

Greetings of the day!!!

I would like to know the progress of this issue, please let me know if you need more detail on it.

Thank you.

kmadhak avatar Jul 30 '21 05:07 kmadhak

Gutenberg 11.3 shows this issue. When unsetting line-height from the select/dropdown, the character no longer gets stripped. This is an issue with Blink (Chromium), not Webkit (Safari).

Similar: https://github.com/woocommerce/woocommerce/issues/24731

sybrew avatar Aug 24 '21 00:08 sybrew

Hello @JustinyAhin,

Greetings of the day!!!

I would like to know the progress of this issue, please let me know if you need more detail on it.

Thank you.

kmadhak avatar Mar 28 '22 06:03 kmadhak

I would like to know the progress of this issue, please let me know if you need more detail on it.

I am not seeing this in WP 5.9 and Gutenberg 13.1, and since 5.9 there is a completely refactored Gallery block - @kmadhak can you confirm if you still get this in WP 5.9?

glendaviesnz avatar May 06 '22 04:05 glendaviesnz

@glendaviesnz please try any browser other than Safari. This is not an issue with the Gallery Block, but with the overall styling of dropdowns.

image

^ The last character of the Post Format dropdown is a y, and the Author's username is pgyqj.

This is using WP 6.0-RC1. Viewable with and without Gutenberg 13.1. To learn more, see the very same issue made by the very same company only using Macbooks here https://github.com/woocommerce/woocommerce/issues/24731.

sybrew avatar May 06 '22 07:05 sybrew

Hello @glendaviesnz ,

I have tried to regenerate the issue in WordPress 5.9.3 with and without Gutenberg 13.1 version plugin, and yes I am facing same issue, for more detail please view the attached video and let me know if there is anything.

Thank you.

https://user-images.githubusercontent.com/69349539/167098742-0889367d-967b-4801-8d04-dbff96574667.mp4

kmadhak avatar May 06 '22 08:05 kmadhak

Thanks @kmadhak, I was able to replicate it today - just trying to work out why that component sets a specific line-height of 1. Removing this fixes the issue in the Gallery, but it may break things in other contexts.

glendaviesnz avatar May 09 '22 06:05 glendaviesnz