Skip to content

Fix/resize col line stuck 4120#5087

Merged
fangsmile merged 4 commits intodevelopfrom
fix/resize-col-line-stuck-4120
Apr 2, 2026
Merged

Fix/resize col line stuck 4120#5087
fangsmile merged 4 commits intodevelopfrom
fix/resize-col-line-stuck-4120

Conversation

@fangsmile
Copy link
Copy Markdown
Contributor

run bugserver cases for #5082

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Update dependency
  • Code style optimization
  • Test Case
  • Branch merge
  • Site / documentation update
  • Demo update
  • Workflow
  • Chore
  • Release
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

Erica-cod and others added 4 commits March 29, 2026 22:46
…e indicators #4120

When setRecords() or updateOption() is called during an active resize
operation, call updateOptionSetState() to fully reset interaction state,
hide resize column/row indicators, and prevent the table from being
stuck in grabing mode. Added demo case for verification.

Made-with: Cursor
… setRecords

Instead of calling the heavy updateOptionSetState() from setRecords(),
extract a focused endResizeIfResizing() method that only handles resize
indicator cleanup. _updateOptionSetState() reuses it internally.

Made-with: Cursor
…0-v2

fix: clear resize indicator and reset state on data update #4120
name: `员工${i + 1}`,
email: `user${i + 1}@example.com`,
department: ['研发部', '市场部', '设计部', '产品部', '运营部'][i % 5],
salary: Math.round(Math.random() * 10000 + 5000),

Check failure

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.

Copilot Autofix

AI 25 days ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

@fangsmile fangsmile merged commit e35bec4 into develop Apr 2, 2026
6 of 8 checks passed
@fangsmile fangsmile deleted the fix/resize-col-line-stuck-4120 branch April 2, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants