-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tree-view): associate tree node content with checkbox as label
This change allows clicking the tree node content to select/deselect the tree node. The code initializes `this._model.textContent` had to be moved to after view init because the DOM element's text content wasn't available in after content init after the DOM structure changes. VPAT-791 BREAKING CHANGE: The internal DOM structure of the tree node component has been changed. The `.clr-treenode-content` element is no longer rendered for selectable tree nodes; instead, the tree node content is rendered inside the checkbox's label element.
- Loading branch information
1 parent
808e0c9
commit 6a24e3d
Showing
3 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters