Skip to content

Conversation

@ugur-vaadin
Copy link
Contributor

Description

In Lumo, disabled items has pointer-events: none, which makes sure that the items are cannot be interacted with. The new base styles for the items lack this, which leads to behavior like sub menus opening for disabled items in context menus.

This PR adds the missing style to item base styles.

Fixes #10408

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/contributing/pr
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

@sonarqubecloud
Copy link

@web-padawan web-padawan removed the request for review from DiegoCardoso October 31, 2025 12:06
@web-padawan web-padawan merged commit 77baac1 into main Oct 31, 2025
9 checks passed
@web-padawan web-padawan deleted the fix-do-not-open-sub-menu-for-disabled-items branch October 31, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sub menu should not be opened when hovering disabled context menu item element in Aura

3 participants