Skip to content

Conversation

twittwer
Copy link
Contributor

The setLastItemActive method of the ListKeyManager used the items input directly to determine the length without checking if it is a Signal instead of a QueryList.

The fix uses the already present _getItemsArray for safe access.

@devversion devversion requested review from crisbeto and removed request for devversion April 10, 2024 15:29
@crisbeto crisbeto removed the request for review from jelbourn April 11, 2024 02:42
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Apr 11, 2024
@crisbeto crisbeto added the merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed label Apr 18, 2024
@crisbeto crisbeto merged commit d9c8813 into angular:main Apr 18, 2024
crisbeto pushed a commit that referenced this pull request Apr 18, 2024
@twittwer twittwer deleted the fix-list-key-manager-end-shortcut branch April 19, 2024 09:52
@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 May 20, 2024
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 merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed 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