πŸ’₯ TRENDING: WordPress/gutenberg/issues/ - HD Photos!

Skip to content

Spacing presets: range control can't be dragged past first settingΒ #45297

@glendaviesnz

Description

@glendaviesnz

Description

The spacing presets range control gets stuck on the first setting when initially dragged from undefined - but only with the combined control, ie. it works as expected if you unlink the sides and set one side separately.

Step-by-step reproduction instructions

  1. Add a group block
  2. In the right settings panel drag the padding range control to the first segment and while keeping the mouse button down try and drag further
  3. Release the mouse control and then drag and you can move it as many times as you like
  4. Reset the values in the ellipsis many and then unlink the sides and repeat the above on a single side control and it works as expected.

Screenshots, screen recording, code snippet

what-a-drag.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions