Skip to content

Menu: Using the popup mode, the menu has a transparent background in dark mode. #5890

@luke-z

Description

@luke-z

Describe the bug

The background of the Menu component, when using it in popup mode, is transparent when using a dark mode theme.

image

It can be observed on the primevue website itself, thus I have not created a reproducer.
It works in light mode as expected.

Reproducer

https://primevue.org/menu/#popup

PrimeVue version

4.0.0-rc.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

Brave

Steps to reproduce the behavior

  1. Go to the primevue website linked in the reproducer
  2. Set the color mode to dark
  3. Click on the popup button to display the menu

Expected behavior

Menu should have a background color

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIssue contains a bug related to a specific component. Something about the component is not working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions