diff --git a/src/editor/components/seExplorerButton.js b/src/editor/components/seExplorerButton.js index 111ccca5..dee91b25 100644 --- a/src/editor/components/seExplorerButton.js +++ b/src/editor/components/seExplorerButton.js @@ -52,6 +52,8 @@ template.innerHTML = ` margin-left: 34px; background: none !important; display:none; + top: 30%; + left: 171px; } .image-lib { position: fixed; diff --git a/src/editor/components/seFlyingButton.js b/src/editor/components/seFlyingButton.js index 51298a3a..ddcc957b 100644 --- a/src/editor/components/seFlyingButton.js +++ b/src/editor/components/seFlyingButton.js @@ -262,6 +262,9 @@ export class FlyingButton extends HTMLElement { this.removeAttribute('opened'); } else { this.setAttribute('opened', 'opened'); + // In case menu scroll on top or bottom position based popup position set + const rect = this.getBoundingClientRect(); + this.$menu.style.top = rect.top + "px"; } break; default: