mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-18 14:10:26 +08:00
Hide the current widget when collapsing, otherwise this is only the upper one which is displayed
This commit is contained in:
parent
2055ccfb5c
commit
1773c8fb26
@ -664,6 +664,7 @@ namespace Private {
|
||||
* Collapse the sidebar so no items are expanded.
|
||||
*/
|
||||
collapse(): void {
|
||||
this._current?.hide();
|
||||
this._current = null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user