Skip to content

Right click menu does not work from Tree in 1.X and 2.X #6688

@katerberg

Description

@katerberg
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.7

Environment

Firefox or Chrome. Viewable on the site

Reproduction link

https://1x.antdv.com/components/tree/

Steps to reproduce

Right click on any label in a Tree. Nothing happens.

What is expected?

Browser context menu should open.

What is actually happening?

Nothing happens because preventDefault is happening from the onNodeContextMenu method which cannot be overriden


My previous ticket was auto-closed: #6430

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions