-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed as not planned
Closed as not planned
@AStrelkov
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
In the following snippet of the MatSelectionList class, skipPredicate's parameter is wrong.
this._keyManager = new FocusKeyManager(this._items)
.withHomeAndEnd()
.withTypeAhead()
.withWrap()
.skipPredicate(() => this.disabled);
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
Should be:
this._keyManager = new FocusKeyManager(this._items)
.withHomeAndEnd()
.withTypeAhead()
.withWrap()
.skipPredicate((item) => item.disabled);
Actual Behavior
Skipping doesn't work on the disabled options.
Environment
- Angular: 19, 20
- CDK/Material: 19, 20
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 11