Skip to content

[Question]: Full container width table and columns with resize handle without overflow - is it possible?Β #289

@largiter

Description

@largiter

Hello,

I'm using prosemirror-tables with Tiptap.
I see in the codebase that the resize functionality is totally on this side as a function "columnResizing".

  • I have a container that is resizable (height and width).
  • There is a table inside this container that always needs to be an equal width to the container (width 100%).
  • The resize handle on the table column shouldn't allow overflow of this container

The problem is with sync between table minWidth and ability to change colwidth, it could be great to have opportunity to limit colwidth modifications to specific wrapper width.

Is there a simple way to limit resizing to prevent overflow?

Screen.Recording.2025-05-07.at.14.29.11.mov

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