Skip to content

🐛 fix: keep table resize controls inside modals - #200

Open
arvinxx wants to merge 1 commit into
masterfrom
fix/modal-table-resize
Open

arvinxx wants to merge 1 commit into
masterfrom
fix/modal-table-resize

Conversation

@arvinxx

@arvinxx arvinxx commented Aug 16, 2026

Copy link
Copy Markdown
Member

Summary

  • mount table resize controls inside the dialog surface that contains the editor
  • calculate resize handle coordinates relative to the selected portal container
  • retain the closest app container and document body fallbacks

Verification

  • pnpm exec vitest run --silent=passed-only src/plugins/table/react/TableResize/index.test.ts
  • pnpm run type-check
  • pnpm run build
  • verified a trusted column-width drag in LobeHub Document Modal (280px → 380px)

@vercel

vercel Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lobe-editor Canceled Canceled Aug 16, 2026 3:04am

Request Review

@arvinxx
arvinxx force-pushed the fix/modal-table-resize branch from 6cdfec2 to 4c73889 Compare August 16, 2026 02:32
@github-actions

Copy link
Copy Markdown

👍 @arvinxx


Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@pkg-pr-new

pkg-pr-new Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@lobehub/editor@200

commit: 4c73889

This branch was successfully deployed

1 active deployment
Preview — 4c738894 Deployed Aug 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant