Skip to content

Conversation

sissbruecker
Copy link
Contributor

Description

After refactoring overlay-based components to keep their overlay in the shadow root, the setOverlayClassName API will not be functional anymore, as the classes would be applied to the element in a shadow root. Instead, the regular HasStyle APIs such as setClassName should now be used to target overlays for styling.

The following components are affected:

  • AvatarGroup
  • ComboBox
  • ContextMenu
  • DatePicker
  • DateTimePicker
  • MenuBar
  • Select
  • TimePicker
  • AvatarGroup

Part of vaadin/web-components#9742

Type of change

  • Breaking change

Copy link

sonarqubecloud bot commented Aug 8, 2025

@web-padawan web-padawan merged commit e2ff06f into main Aug 8, 2025
5 checks passed
@web-padawan web-padawan deleted the refactor/remove-has-overlay-class-name branch August 8, 2025 11:44
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