optimize(components): accuracy draggable area for TableColumnSetting with animation #465
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题
表格列设置中,使用了拖动排序的功能并且提供了拖动块,并且拖动块在鼠标
hover
时显示move
图标,在列标题的部分鼠标是不变化的但目前整个单元格都可以进行拖动操作,这与用户预期不同,并且标题的部分没有占满行剩余空间,对于较短标题在点击单元格右侧空白处不会触发点击事件,见下图
更改
move
时,都可以对单元格进行拖动filter
对checkbox
元素进行过滤(添加类.none_draggable
),做到只有移动拖动块时单元格会进行拖动排序,拖动标题区域时不会触发排序