-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
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
ColorPicker: *.png missing #13820
Comments
I found a fix: Add the following to the top level styles.sass
The problem seems to be the styles generator that throws away the css styles of colorpicker-images.css |
@SoyDiego i think the op used sass theme https://github.com/primefaces/primeng-sass-theme/blob/main/theme-base/components/input/_colorpicker.scss which doesn't have the backround style and indeed there is no background Shouldn't colorpicker-images.css be included in colorpicker component? |
Hi, Could you please share a stackblitz reproducer so we can identify the issue clearly? |
@cetincakiroglu FYI: /* You can add global styles to this file, and also import other style files */
.p-colorpicker-panel .p-colorpicker-color {
background: transparent url("assets/img/custom-color.png") no-repeat left top
}
.p-colorpicker-panel .p-colorpicker-hue {
background: transparent url("assets/img/custom-hue.png") no-repeat left top !important;
} |
same |
Same here. Both versions 17.18.10 and 17.18.11 (with Angular 18). |
If you want to reproduce, simply go to color picker on the primeng.org website (https://primeng.org/colorpicker) and select the Stackblitz for the Basic example |
Downgrading to |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation and try the latest PrimeNG version(v19). If there is no improvement on this, can you open a new issue so we can include it in our roadmap? Thanks a lot for your understanding! |
Describe the bug
By following the installation guide the png-files are missing, and the color picker is broken. (fore example the hue.png is missing)
Environment
Angular CLI: 16.2.4
Node: 18.17.0
Package Manager: npm 9.8.1
Windows: 10
IDE: Intellij Community
Reproducer
No response
Angular version
16.2.4
PrimeNG version
16.4.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.17.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Displaying that way, no error messages or anything else in dev tools.
Files are in the node_modules folder
The text was updated successfully, but these errors were encountered: