components
components copied to clipboard
fix(cdk/tree): only handle keyboard events directly from the node
trafficstars
Currently the CDK tree handle any keyboard event coming from a descendant. This problematic if there are interactive elements like inputs inside the tree, because their default behavior will be prevented.
This change switches to only handling events coming either directly from the tree or directly from a tree node.
Fixes #29828.