primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.28k stars 1.21k forks source link

Multiselect: panel-class doesn't work with scoped css #4427

Open BearsPunch opened 1 year ago

BearsPunch commented 1 year ago

Describe the bug

panel-class doesn't work if scoped style used

Reproducer

https://codesandbox.io/s/elegant-nobel-wcktc9?file=/src/App.vue:596-602

PrimeVue version

3.33.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Firefox 117.0

Steps to reproduce the behavior

1) Create Multiselect 2) Create scoped style class with
3) Assign style class to Multiselect via panel-class

Expected behavior

style class applied to panel

ZiadJ commented 2 months ago

It'll work if you use appendTo="self"