fix(grid): col drag (#1478)
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1478 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
This commit is contained in:
parent
a13cbfcc2c
commit
62d333d20b
@ -78,7 +78,7 @@ const ColDivider = (props) => {
|
||||
|
||||
useDndMonitor({
|
||||
onDragStart(event) {
|
||||
if (!isDragging) {
|
||||
if (event.active.data.current.dividerRef?.current !== dividerRef.current) {
|
||||
return;
|
||||
}
|
||||
dragIdRef.current = event.active.id as string;
|
||||
|
Loading…
Reference in New Issue
Block a user