Skip to content

Scope context-menu CSS rule to DayOfWeekSelector #18

@paodb

Description

@paodb

Describe the bug

This rule currently used by DayOfWeekSelector is scoped too broadly and ends up affecting other components that use vaadin-context-menu. See FlowingCode/BadgeList#28.

Expected behavior

The rule should apply only to the context menu used by DayOfWeekSelector.

Minimal reproducible example

See FlowingCode/BadgeList#28 (comment)

Add-on Version

1.2.1-SNAPSHOT

Vaadin Version

24.8.0 & 24.9.0

Additional information

The issue becomes evident when DayOfWeekSelector is used alongside other components that rely on vaadin-context-menu, like it's happening in our add-ons demos with BadgeList.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions