Skip to content

Inline editing buttons shown for parent nodes #28

@andy1547

Description

@andy1547

When hovering over a node using inline editing the parent editing buttons are also shown.
Is there anyway to opt-out of this behaviour and only show the edit buttons for the node that's being hovered over?

I imagine the focus event attached to all the elements could check a config flag (either Tree or TreeNode config), if this flag is enabled the event target could be checked to see if was emitted on that particular anchor tag or whether a child anchor emitted the event.
Another option would be the flag prevents bubbling to parent anchors, but I'm less keen on this approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions