Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Highlight ColorPicker - In Gutenberg 15.4.0, ColorPicker closes the first time I try to change colors #49287

Closed
cuemarie opened this issue Mar 22, 2023 · 3 comments
Labels
[Feature] Colors Color management [Package] Format library /packages/format-library [Type] Bug An existing feature does not function as intended

Comments

@cuemarie
Copy link

Description

On a test site using WordPress 6.1.1, and Gutenberg 15.4.0 active, the Inline Highlight ColorPicker closes the first time I try typing in a hex code, but works when I reopen it. It also seems to close the first time I try to set a color using the drag option, or picking one of the theme colors - but then works again once I reopen the interface.

Step-by-step reproduction instructions

  1. On a test site with WordPress 6.1.1 and Gutenberg 15.4.0 active, create a new page/post with text content
  2. Highlight text, then use the Toolbar > Highlight to set a custom color using the Hex code field
  3. Reopen the colorpicker and try the same change on the same word again
  4. Next, highlight a new word, and try setting a color

Screenshots, screen recording, code snippet

Screen.Capture.on.2023-03-22.at.13-19-23.mp4

Environment info

  • WordPress 6.1.1
  • Gutenberg 15.4.0
  • Theme: Twenty Twenty-Three v1.0
  • Browser: FireFox 111.0

This report stems from troubleshooting on this open report: Automattic/wp-calypso#59566

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

@Mamaduka
Copy link
Member

I can reproduce the issue, but in my case, Popover jumps to the top left corner. The same happens when clearing the selected color.

Screencast

CleanShot.2023-03-23.at.09.44.41.mp4

@ciampo
Copy link
Contributor

ciampo commented Apr 5, 2023

Thank you for the issue report, @cuemarie !

Re. the jumping behaviour, I already left a reply on related issue #49286 (comment)

I am otherwise not able to reproduce the rest of the issue (popover closing unexpectedly) on latest trunk

@t-hamano
Copy link
Contributor

I think this issue is resolved in #54736, so I'd like to close it.

Instead, #54909 has been filed to explore a more fundamental solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Colors Color management [Package] Format library /packages/format-library [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants