ColorPicker: Dragging selection in gradient picker throws error #36066
Labels
[Feature] UI Components
Impacts or related to the UI component system
[Type] Bug
An existing feature does not function as intended
Description
Color selection for one point in a gradient throws a max depth exceeded error when using the drag gesture within the color picker.
I expected to be able to click on a color point in the gradient slider, then be able to drag the selection around in the color picker popover. Instead, when doing so, an error is thrown and block gets invalidated in the editor.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2021-10-29.at.12.25.02.pm.mp4
Environment info
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
The text was updated successfully, but these errors were encountered: