Skip to content

Conversation

sissbruecker
Copy link
Contributor

Description

After refactoring overlay-based components to keep their overlay in the shadow root, the overlayClass property will not be functional anymore, as the classes would be applied to the element in a shadow root. Instead, the regular class property should now be used to target overlays for styling.

The following components are affected:

  • vaadin-avatar-group
  • vaadin-confirm-dialog
  • vaadin-context-menu
  • vaadin-combo-box
  • vaadin-date-picker
  • vaadin-date-time-picker
  • vaadin-dialog
  • vaadin-login-overlay
  • vaadin-menu-bar
  • vaadin-multi-select-combo-box
  • vaadin-popover
  • vaadin-select
  • vaadin-time-picker
  • vaadin-tooltip

The exception is vaadin-notification, for which overlayClass still works as before.

Part of #9742

Type of change

  • Breaking change

Copy link

sonarqubecloud bot commented Aug 7, 2025

@web-padawan web-padawan merged commit 1d83057 into main Aug 7, 2025
9 checks passed
@web-padawan web-padawan deleted the refactor/remove-overlay-class-mixin branch August 7, 2025 09:52
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.

2 participants