Skip to content

mind-elixir 4.4.2 breaks node-menu visibility #5

@pano9000

Description

@pano9000

Hello,

I was recently noticing that with 4.4.2 the node-menu plugin seems to break (due to CSS class naming issues).

  • The right-click context-menu is not showing anymore
  • the sidebar that appears when you click on a node is also not appearing

You can test this with your provided playground, if you change the version in the JS part of the codepen:
https://codepen.io/ssshooter/pen/NWJwBNV

works

import MindElixir from "https://cdn.jsdelivr.net/npm/mind-elixir@4.4.1/dist/MindElixir.js";

broken

import MindElixir from "https://cdn.jsdelivr.net/npm/mind-elixir@4.4.2/dist/MindElixir.js";

The sidebar issue seems to have been introduced by the following change:
SSShooter/mind-elixir-core@294c2d5
(PR to fix this will follow in a second)

The Context menu seems to be a different reason than the class name change, as it is rendered, but shows some ridiculous absolute positioning values (e.g. top: -9000 px), so it remains out of view. Edit: this seems to be an issue from mind-elixir-core -> will report the issue there

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions