Skip to content

Commit 571b636

Browse files
Merge branch 'release/v17' into UIK-4841/button-link-underline-v-17
2 parents 6d31bec + 87bc4af commit 571b636

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

semcore/dropdown-menu/__tests__/dropdown-menu.browser-test.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,14 @@ test.describe(`${TAG.VISUAL} `, () => {
336336
await locators.button(page).click();
337337
await locators.menuitem(page, 0).waitFor({ state: 'visible' });
338338

339+
await test.step('Verify no hover style on group title', async () => {
340+
await page.locator('[data-ui-name="Dropdown.Item"]').first().hover();
341+
await checkStyles(page.locator('[data-ui-name="Dropdown.Item"]').first(), {
342+
'background-color': 'rgba(0, 0, 0, 0)',
343+
'cursor': 'default',
344+
});
345+
});
346+
339347
await test.step('Verify item with hint L size', async () => {
340348
await checkStyles(locators.itemInGroup(page).nth(1), {
341349
'font-size': '16px',

semcore/dropdown/src/style/dropdown.shadow.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ SDropdownPopper {
122122
}
123123
}
124124

125+
SDropdownItem[notInteractive] {
126+
cursor: default;
127+
128+
&:hover {
129+
background: none;
130+
}
131+
}
132+
125133
SDropdownItem[variant='hint'] {
126134
color: var(--intergalactic-text-secondary, #6c6e79);
127135
cursor: default;

0 commit comments

Comments
 (0)