We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After noticing that my styles were not being applied, I checked the code and found this:
https://github.com/primefaces/primereact/blob/master/components/lib/dropdown/DropdownBase.js#L153-L155
const inlineStyles = { wrapper: ({ props }) => ({ maxHeight: props.scrollHeight || 'auto' }), panel: ({ props }) => { props.panelStyle; } };
That problem is on the panel property. It's either missing a return or it has unnecessary brackets.
panel
return
No response
10.6.6
17.x
TypeScript
Next.js
Edge latest
<Dropdown options={[]} optionLabel="name" optionValue="id" panelStyle={{ backgroundColor: 'red', }} />
The panel would have the background color set to red
red
The text was updated successfully, but these errors were encountered:
Fix primefaces#6854: chore: Fix panel style in DropdownBase.js
6843466
PR submitted.
Sorry, something went wrong.
0ad8ab9
@Rekl0w thanks 🤘!
Rekl0w
Successfully merging a pull request may close this issue.
Describe the bug
After noticing that my styles were not being applied, I checked the code and found this:
https://github.com/primefaces/primereact/blob/master/components/lib/dropdown/DropdownBase.js#L153-L155
That problem is on the
panel
property. It's either missing areturn
or it has unnecessary brackets.Reproducer
No response
PrimeReact version
10.6.6
React version
17.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
Edge latest
Steps to reproduce the behavior
Expected behavior
The panel would have the background color set to
red
The text was updated successfully, but these errors were encountered: