mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: block resize by dragging not working (#6944)
This commit is contained in:
parent
d988e86312
commit
afbefb34c0
@ -96,7 +96,11 @@ const ColDivider = (props) => {
|
||||
|
||||
useDndMonitor({
|
||||
onDragStart(event) {
|
||||
if (!designable || !isDragging) {
|
||||
const dividerRef = event.active?.data?.current?.dividerRef;
|
||||
if (!dividerRef) {
|
||||
return;
|
||||
}
|
||||
if (!designable) {
|
||||
return;
|
||||
}
|
||||
dragIdRef.current = event.active.id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user