Fix for incorrect modal widget placing

This commit is contained in:
navaneeth 2021-11-25 14:17:18 +05:30
parent c2ad1f029d
commit dff987b58f

View file

@ -58,7 +58,7 @@ export const Modal = function Modal({ id, component, height, containerProps, cur
</div>
</BootstrapModal.Header>
<BootstrapModal.Body style={{ height }} ref={parentRef}>
<BootstrapModal.Body style={{ height }} ref={parentRef} id={id}>
<SubContainer parent={id} {...containerProps} parentRef={parentRef} />
<SubCustomDragLayer
snapToGrid={true}