VTable icon indicating copy to clipboard operation
VTable copied to clipboard

fix: hide menu when srcoll table

Open AcWrong02 opened this issue 9 months ago • 3 comments

[中文版模板 / Chinese template]

🤔 This is a ...

  • [ ] New feature
  • [x] 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

表格滚动时,应该关闭右键菜单 or 下拉菜单

📝 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

AcWrong02 avatar Apr 16 '25 12:04 AcWrong02

20250421141537_rec_ @AcWrong02 目前vtable逻辑中当滚动时 并没有隐藏菜单呀?为什么要加菜单隐藏的事件触发呢?

fangsmile avatar Apr 21 '25 06:04 fangsmile

@fangsmile image 触发DROPDOWN_MENU_CLEAR事件就会去关闭菜单的

AcWrong02 avatar Apr 22 '25 04:04 AcWrong02

建议类似像处理拖拽滚动条逻辑,加上 scenegraph.table.stateManager.hideMenu(); image image

fangsmile avatar Apr 23 '25 02:04 fangsmile

https://github.com/VisActor/VTable/pull/4243/ 已解决

fangsmile avatar Jul 29 '25 04:07 fangsmile