Merge pull request #5399 from Budibase/bug/sev3/settings_bar_covering_button

Move settings bar below element if at very top [TWEAK]
This commit is contained in:
melohagan 2022-04-14 08:41:18 +01:00 committed by GitHub
commit 39316a1967
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@
}
//If element is at the very top of the screen, put the bar below the element
if (elBounds.top < elBounds.height) {
if (elBounds.top < elBounds.height && elBounds.height < 80) {
newTop = elBounds.bottom + verticalOffset
}