[Bug] 先点击排序后,然后通过editor属性编辑值,会导致排序状态重置,
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.17.4
Link to Minimal Reproduction
https://visactor.io/vtable/demo-vue/edit-data/arco-select-editor
Steps to Reproduce
1.打开官方demo链接
2.增加一个sort属性,然后点击排序
3.在排序的状态下修改别的列的值,排序的状态被重置
Current Behavior
我在vue3中使用vtable,我用editor属性在表格中编辑数据,但是这个行为会重置表格的排序状态,我现在只能先记录排序状态,然后在change_cell_value事件中去updateSortState,想请教一下是不是有别的办法?
Expected Behavior
表格内编辑数据不重置排序状态
Environment
- OS:window
- Browser: Chrome@Latest
- Framework:Vue@3
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Vue 3 reproduction at https://visactor.io/vtable/demo-vue/edit-data/arco-select-editor and reproduce the issue by enabling sorting, then editing another column with the editor. Trace the edit flow and verify that changing a cell preserves the active sort state instead of resetting it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100