Skip to content

Conversation

crisbeto
Copy link
Member

If the user hits the end of the calendar (e.g. when a min/max date is set), we disable the calendar button which causes focus to be returned to the body.

These changes use disabledInteractive on the buttons so that focus stays on the button.

If the user hits the end of the calendar (e.g. when a min/max date is set), we disable the calendar button which causes focus to be returned to the `body`.

These changes use `disabledInteractive` on the buttons so that focus stays on the button.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jul 21, 2025
@crisbeto crisbeto requested a review from a team as a code owner July 21, 2025 07:10
@crisbeto crisbeto requested review from adolgachev and wagnermaciel and removed request for a team July 21, 2025 07:10
@crisbeto crisbeto removed the request for review from wagnermaciel July 22, 2025 12:47
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jul 22, 2025
@crisbeto crisbeto merged commit e8b28fa into angular:main Jul 22, 2025
26 of 29 checks passed
@crisbeto
Copy link
Member Author

The changes were merged into the following branches: main, 20.1.x

crisbeto added a commit that referenced this pull request Jul 22, 2025
…#31572)

If the user hits the end of the calendar (e.g. when a min/max date is set), we disable the calendar button which causes focus to be returned to the `body`.

These changes use `disabledInteractive` on the buttons so that focus stays on the button.

(cherry picked from commit e8b28fa)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: material/datepicker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants