cancel
Showing results for 
Search instead for 
Did you mean: 

Hello. I have a question regarding UI5 ColorPalette.

yonggyu
Discoverer
0 Kudos
117

As shown in the figure below, each color is currently applied to the color change button.

yonggyu_1-1745313366902.png

However, when the mouse cursor moves over the changed color, the color changes to the default value. Please tell me if this is a bug or if it can be fixed.

yonggyu_2-1745313476683.png

The changed color above is a captured photo after the mouse cursor went over it. Thank you.

 

 

View Entire Topic
Rithika
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi yonggyu,

I have possible workarounds for your issue, please try the following

1) Try updating to the latest version of SAP UI5 (1.133), sometimes the issues with colors get automatically fixed

2) Please refrain from using custom css color, best practice is to use SAP color variables example 

 color:var(--sapErrorColor) !important; in your css file, or in the controller.
 
3) If your still facing the issue, then you raise a ticket to the internal incident portal with relevant details
You will get the response within a week or so, if its a bug then the central UX team will fix it.

 

 

yonggyu
Discoverer
0 Kudos
Hello, I don't know if it's a bug or not, but in the UI5 ​​Demo Kit Sample, in the Color Palette in a Popover, if you change the color with the color picker and then hover the mouse over it, the color-fill icon reverts to its original color. Have you implemented this issue? Thank you.
Rithika
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello, have you used any custom functions to manipulate the functionality? If not then please raise an internal incident for this component "CA-UI5-CTR"

Let me know if you need more help

yonggyu
Discoverer
0 Kudos
Hello, I solved it by setting addEventListner to the icon in the controller to force the color not to change. I think this is a bug and needs to be fixed. Thank You.