Keep selected dates in focus when clicking away #874
-
Currently, the dates get :focus styles applied only when in focus, but as soon as the user clicks away, the selected date loses focus and it's not clear which date was selected. Is there a way to persist the :focus styles on selected dates? Here's an example, click on the New button to have the calendar displayed https://stackblitz.com/edit/stackblitz-starters-gzpusc?file=src%2Fstyle.css |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since you are maintaining the selected value in the Here's your stackblitz modified to cater to your requirement |
Beta Was this translation helpful? Give feedback.
Since you are maintaining the selected value in the
Calendar
component, you could usetileClassName
for that specific tile like this.Here's your stackblitz modified to cater to your requirement