diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-29 20:37:26 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-29 20:37:26 -0400 |
| commit | 7e5779c7404d92fdd64958d6240a1418a2ee57d7 (patch) | |
| tree | 4f214f3e7a78987b9ac1f1e57611f39459ffda28 /src/client/views/collections/collectionFreeForm | |
| parent | 1cb5ac5e07ad90589670a788e3144d9d9581a393 (diff) | |
simplfiled ':' menu and fixed creating items to not assume a template. add emptyNote. fixed scrolling in stacking views broken in previous commit. changed formattedTextBox to support stacking sidebar.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index a3f76839d..89e0450d7 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1627,7 +1627,7 @@ class CollectionFreeFormViewPannableContents extends React.Component<CollectionF return <div className={freeformclass} onScroll={e => { const target = e.target as any; - if (getComputedStyle(target.parentElement)?.overflow === "visible") { // if collection is visible, then scrolling will mess things up since there are no scroll bars + if (getComputedStyle(target)?.overflow === "visible") { // if collection is visible, then scrolling will mess things up since there are no scroll bars target.scrollTop = target.scrollLeft = 0; } }} |
