Skip to content

Hiding Elements after rendering causes the toolbox position to be incorrect #2976

@moomoo-dev

Description

@moomoo-dev

Describe a bug.

Steps to reproduce:

  1. Add this to tool to your config button.js
  2. Add button to screen
  3. Fill out fields
  4. Click Tune icon for button
  5. Click the square with plus icon
  6. Toolbar position is not at the top of the screen

Expected behavior:
Toolbar should be where the button starts

Screenshots:

Image

Device, Browser, OS:

Chrome, Firefox,

Editor.js version:

@editorjs/editorjs": "^2.31.0

Plugins you use with their versions:

"@editorjs/editorjs": "^2.31.0",
"@editorjs/list": "^2.0.9",
"@editorjs/paragraph": "^2.11.7",
"@editorjs/table": "file:table",

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions