ueberdosis/tiptap

[Bug]: table context menu focus issue

Open

#6,396 opened on May 29, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (1,979 forks)batch import
area: editorarea: ui-componentscomplexity: easygood first issueimpact: low

Repository metrics

Stars
 (23,454 stars)
PR merge metrics
 (Avg merge 4d 13h) (46 merged PRs in 30d)

Description

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.

Contributor guide