Hi Christo,
Thank you so much for your help. It did solve my problem.
Sorry that I have another issue.
Here is the example:
https://codesandbox.io/s/4x5omx867
When the width of the container element (#left_container) is set to 40% and one tree node is selected, it seems that the selection area is not equal to the width of #left_container.
If the width of tree (#treeview) is set to 100% to make it work, then if one node text is too long (for example, click "change tree data" button on the top of tree), the horizontal scrollbar won't be fixed on the bottom of the view.
In that case, how to make both (selection area is equal to the width of #left_container & horizontal scrollbar is fixed on the bottom of the view) work since the data of tree will change?
Please let me know if my description is not clear.
Thanks,
Jzy