Treeview component doesn't hide when sidebar set to autohide

I have the Treeview component attached to a cell in the Sidebar component which is set to autohide. The problem is that when the sidebar hides itself the TreeeView component stays visible.

Hi, аttach the treeview to sidebar. Similarly, this code:
var sidebar_1 = a.attachSidebar({template: ‘details’, width: ‘200’, autohide: ‘’, header: ‘’});
sidebar_1.addItem({id: ‘sidebar_item_1’, text: ‘sidebar_item_1’});
var sidebar_item_1 = sidebar_1.cells(‘sidebar_item_1’);
var treeview_1 = sidebar_item_1.attachTreeView();

Please check the next sample, it implements the same use-case and it works correctly