diff --git a/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/HoveringToolbar.js b/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/HoveringToolbar.js index b0feac74a..d26e49d91 100644 --- a/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/HoveringToolbar.js +++ b/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/HoveringToolbar.js @@ -43,7 +43,7 @@ export function HoveringToolbar({position}) { const rect = domRange.getBoundingClientRect() const outerRect = outerRef.current.getBoundingClientRect() - el.style.opacity = 1; + el.style.visibility = 'visible'; el.style.left = `${rect.left - outerRect.left}px`; if (position === 'above') { diff --git a/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/index.module.css b/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/index.module.css index 681ffc95e..fb7ae99c5 100644 --- a/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/index.module.css +++ b/entry_types/scrolled/package/src/frontend/inlineEditing/EditableText/index.module.css @@ -32,7 +32,7 @@ z-index: 2; top: -10000px; left: -10000px; - opacity: 0; + visibility: hidden; white-space: nowrap; }