diff options
| author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-03 11:04:19 -0500 |
|---|---|---|
| committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-03 11:04:19 -0500 |
| commit | 89f19acdbf4a4aa81537b56665353b7c0d4c8e30 (patch) | |
| tree | f3dfc271ca5b8754ce78861bc8cff293546b3067 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 19f963aef35237245418f94595ca519d254bcffe (diff) | |
| parent | 1107c4eaeb3291c37ff3c6fb045aab3dbc4cc3c8 (diff) | |
merge
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 95b68a17d..533c8bffe 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -770,6 +770,10 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { private onActiveContentItemChanged() { if (this.props.glContainer.tab) { this._isActive = this.props.glContainer.tab.isActive; + setTimeout(() => { + const dv = this._document && DocumentManager.Instance.getFirstDocumentView(this._document); + dv && SelectionManager.SelectDoc(dv, false); + }); !this._isActive && this._document && Doc.UnBrushDoc(this._document); // bcz: bad -- trying to simulate a pointer leave event when a new tab is opened up on top of an existing one. } } |
