Skip to content

[Bug]: table context menu focus issue #6396

Open
@daveswebdesigns

Description

@daveswebdesigns

Affected Packages

packages/extension-table/

Version(s)

2.7.2

Bug Description

When you drag to select several table cells and right-click any but the last cell you selected, the table loses selection.

Pretty small issue which I think most users will work out pretty quick but I'm putting all my table controls in the context menu so it would be good if the focus was consistent. Thanks. Great product.

Browser Used

Chrome

Code Example URL

https://tiptap.dev/docs/editor/extensions/nodes/table

Expected Behavior

Select 2 or more cells in a row and right click the last you selected, the focus remains, but if you right-click any other cell, the selection is lost. Same behaviour in react and vue demos.

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: Open SourceThe issue or pull reuqest is related to the open source packages of Tiptap.Type: BugThe issue or pullrequest is related to a bug

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions