Make WordPress Core

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: paragjethva's profile paragjethva 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)

expected_result.png (372.3 KB) - added by paragjethva 4 months ago.
actual_result.png (386.6 KB) - added by paragjethva 4 months ago.
62782.patch (815 bytes) - added by jdahir0789 4 months ago.

Download all attachments as: .zip

Change History (6)

#1 @jdahir0789
4 months ago

  • Keywords has-patch added; needs-patch removed

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

@jdahir0789
4 months ago

#2 @vipulgupta003
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

Last edited 4 months ago by vipulgupta003 (previous) (diff)

#3 @Mamaduka
4 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.