Opened 4 months ago
Closed 4 months ago
#62782 closed defect (bug) (reported-upstream)
Featured Image Block, Overlay Color Dropdown: 'Clear' Button Missing
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description
In the Gutenberg editor, the overlay color dropdown for post featured images does not display the 'Clear' button, preventing users from resetting the selected color to default.
Steps to Reproduce:
Add Featured Image Block.
Set a featured image.
Click on the 'Overlay Color' dropdown under 'Settings/Style' > 'Color' > 'Overlay
Observe that the 'Clear' button is missing.
Expected Result:
The 'Clear' button should be visible in the overlay color dropdown, allowing users to reset the overlay color to default.
Actual Result:
The dropdown does not display the 'Clear' button, and users are unable to remove the overlay color once set.
Attachments (3)
Change History (6)
#2
@
4 months ago
Thank you, @paragjethva, for bringing up this issue. I agree that a clear button should ideally also be included within the color picker for better usability.
However, since this pertains to the Gutenberg Editor, it should be reported in the Gutenberg Issues repository on GitHub. I'll create a corresponding issue there and link it back to this ticket for reference.
I have created an issue here : https://github.com/WordPress/gutenberg/issues/68524
This issue may not require a fix, as users can effectively remove the overlay by setting the opacity to 0, which resets the visual effect. The current implementation already provides a way to achieve the desired outcome without adding extra UI elements like a 'Clear' button. Let me know if further clarification is needed!
if still required, a clear button, than you can check patch file