WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.52k stars 4.21k forks source link

[iOS] Knob shadow of the slider component gets cut off by left side #36669

Open fluiddot opened 3 years ago

fluiddot commented 3 years ago

Description

The knob component of the slider used in the bottom sheet gets cut off when it's located at the minimum value (left side).

Step-by-step reproduction instructions

  1. Add a Spacer block.
  2. Open the block settings.
  3. Move the "Height in pixels" slider to the minimum value (left side).
  4. Observe that the knob's shadow gets cut off.

Expected behaviour

The knob's shadow should be rendered properly.

Actual behaviour

The knob's shadow gets cut off.

Screenshots or screen recording (optional)

WordPress information

Device information

hypest commented 2 years ago

I have the sense this might have the same root cause as this other ticket.

fluiddot commented 2 years ago

I have the sense this might have the same root cause as this other ticket.

Yep, most likely. Looks like one of the container views that render the content of the Panel component (reference) might be producing this issue.