diff options
| author | bobzel <zzzman@gmail.com> | 2019-02-12 10:48:03 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2019-02-12 10:48:03 -0500 |
| commit | 2541c2cd562251143050554f3c0117caed6d9345 (patch) | |
| tree | 83aa828da20ccd0a7272e3177e1d9e6531fcc1de /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 9dd25514bf0ede364e255e7f82d73369f6eb7f48 (diff) | |
still struggling with sizing issues.
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 15a586282..e3d50eb80 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -243,8 +243,9 @@ export class CollectionDockingView extends CollectionViewBase { setTimeout(function () { var htmlElement = document.getElementById(containingDiv); container.on('resize', (e: any) => { - state.doc.SetNumber(KeyStore.Width, htmlElement!.clientWidth); - state.doc.SetNumber(KeyStore.Height, htmlElement!.clientHeight); + // state.doc.SetNumber(KeyStore.Width, htmlElement!.clientWidth); + // if (htmlElement!.clientHeight > 0) + // state.doc.SetNumber(KeyStore.Height, htmlElement!.clientHeight); }) ReactDOM.render(( <DocumentView key={state.doc.Id} Document={state.doc} |
