Describe the bug
When using the DayOfWeekSelector with overflow enabled, selecting a day from the overflow (context menu) does not immediately reflect the selected state visually.
The value is correctly updated internally (as confirmed by the value shown below), but the button inside the overflow menu does not show the selected (highlighted) state until the menu is closed and opened again. The correct styling only appears after closing and reopening the menu. See attached video:
Expected behavior
When selecting a day inside the overflow menu, the button should immediately reflect the selected state (e.g., highlighted/active styling).
Minimal reproducible example
- Open the DayOfWeekSelector demo at https://addonsv25-staging.flowingcode.com/day-of-week-selector/demo and go to the overflow example
- Click on the overflow button to open the context menu
- Select a day that is inside the overflow (e.g., Thursday)
- Observe the selection state in the menu
- Close and reopen the overflow menu
Add-on Version
1.3.1-SNAPSHOT
Vaadin Version
25.1.3 & 24.10.1
Additional information
The issue seems limited to items rendered inside the overflow.
Describe the bug
When using the DayOfWeekSelector with overflow enabled, selecting a day from the overflow (context menu) does not immediately reflect the selected state visually.
The value is correctly updated internally (as confirmed by the value shown below), but the button inside the overflow menu does not show the selected (highlighted) state until the menu is closed and opened again. The correct styling only appears after closing and reopening the menu. See attached video:
Expected behavior
When selecting a day inside the overflow menu, the button should immediately reflect the selected state (e.g., highlighted/active styling).
Minimal reproducible example
Add-on Version
1.3.1-SNAPSHOT
Vaadin Version
25.1.3 & 24.10.1
Additional information
The issue seems limited to items rendered inside the overflow.