ueberdosis/tiptap

[Bug]: table context menu focus issue

Open

#6396 aperta il 29 mag 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (1979 fork)batch import
area: editorarea: ui-componentscomplexity: easygood first issueimpact: low

Metriche repository

Star
 (23.454 star)
Metriche merge PR
 (Merge medio 4g 13h) (46 PR mergiate in 30 g)

Descrizione

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.

Guida contributor