diff options
| author | mehekj <mehek.jethani@gmail.com> | 2023-03-06 17:54:29 -0500 |
|---|---|---|
| committer | mehekj <mehek.jethani@gmail.com> | 2023-03-06 17:54:29 -0500 |
| commit | 1d07b09c90861d002139a0232e5aa1c1eba5e114 (patch) | |
| tree | b0cbe99896f393c47eeb680764eba632f4d9eded /src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx | |
| parent | b55a757175051457c9260f80a1de937901f5cfff (diff) | |
| parent | 4c2584baf8bae0cde714c832b0768d3c08864422 (diff) | |
Merge branch 'master' into schema-mehek
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx index 9811c239b..7f1e15c2f 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx @@ -136,6 +136,7 @@ export class CollectionFreeFormLinkView extends React.Component<CollectionFreeFo height = rect.height; var el = el.parentNode; while (el && el !== document.body) { + if (el.className === 'tabDocView-content') break; rect = el.getBoundingClientRect?.(); if (rect?.width) { if (top <= rect.bottom === false && getComputedStyle(el).overflow === 'hidden') return rect.bottom; |
