Describe any alternatives/workarounds you're currently using
Currently I'm using @ViewChild and vanilla js to scroll container to tree node when it is selected. The scrollable container is initialized together with tree, so scrollContainer option can't be set on init. Maybe scrollContainer option could be an expression? Or maybe separate setting (expression)? Or maybe it can be set through treeComponent.options.scrollContainer or something like that.
The second problem is that TreeNode doesn't provide elementRef which is really needed as we don't have tree-node elements in our html.
If accepted, I would be willing to submit a PR for this feature
[ ] Yes (Assistance will be provided if you need help to submit a pull request)
[ X] No
Describe any alternatives/workarounds you're currently using
Currently I'm using
@ViewChild
and vanilla js to scroll container to tree node when it is selected. The scrollable container is initialized together with tree, soscrollContainer
option can't be set on init. MaybescrollContainer
option could be an expression? Or maybe separate setting (expression)? Or maybe it can be set throughtreeComponent.options.scrollContainer
or something like that.The second problem is that
TreeNode
doesn't provideelementRef
which is really needed as we don't havetree-node
elements in our html.If accepted, I would be willing to submit a PR for this feature
[ ] Yes (Assistance will be provided if you need help to submit a pull request) [ X] No