components icon indicating copy to clipboard operation
components copied to clipboard

fix(cdk/tree): only handle keyboard events directly from the node

Open crisbeto opened this issue 1 year ago • 0 comments
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.

crisbeto avatar Oct 11 '24 08:10 crisbeto