Commit d6ee5ea
authored
fix(ui5-color-palette): show tooltip on focused hovered items (#11519)
There was a bug where upon hovering on a focused item, the tooltip (if such is present) was not showing.
The reason behind that was a CSS property disabling all events - pointer-events: none.
We fix that by ensuring that the property pointer-events: none is present when the ui5-color-palette-item (swatch) is focused but NOT hovered. This ensures that:
- The tooltip is visible when the user hovers over a focused ui5-color-palette-item;
- The focus/hover visual appearance is maintained;1 parent e46b867 commit d6ee5ea
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments