Skip to content

Data Views Popoer hoverstate unreadable #80067

Closed

Description

@enejb

Description

Currently when the dataview hoverstate styles are coming from WP 7.0
they set the color to be #FFF
via
.dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
background-color: var(--wp-admin-theme-color);
color: #fff;
}

from /wp-includes/css/dist/editor/style.css WP 7.0

since there is no color on hover any more we end up with the following state.

Image

This is a recent regression.

Step-by-step reproduction instructions

Load the /wp-includes/css/dist/editor/style.css when running WP 7.0 with the current data view implementation.

Notice that the styles overwrite the color and the dropdown on hover becomes unreadable.

Screenshots, screen recording, code snippet

No response

Environment info

  • WP 7.0, no Gutenberg installed.

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] BugAn existing feature does not function as intended
    on Jul 9, 2026
  2. simison commented on Jul 10, 2026

    @simison
    Member

    FYI @ntsekouras I think this is worth fixing in DataViews for 7.1.

  3. ntsekouras commented on Jul 13, 2026

    @ntsekouras
    Contributor

    That was so hard to reproduce 😅 .. I guess your screenshot comes from latest Jetpack(trunk) locally after the DV change here, right?

    Can you test the linked PR? It seems mostly correct (at least the main color css var).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyond[Package] DataViews/packages/dataviews[Status] In ProgressTracking issues with work in progress[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