Open
Description
First, please check the codepen:
https://codepen.io/yusufozturk/pen/oQbvzj
When you try to move one of the rule, ghost position is not right on the modal.
It's because x and y positions are not correct in the modal view. Probably same issue:
https://stackoverflow.com/questions/46626376/incorrect-mouse-x-y-position-on-bootstrap-modal-window
As the solution, we should use modal window instead of browser window? I think select2 has the similar issue in the bootstrap modal and they have "dropdownParent" parameter to overcome this issue:
https://select2.org/troubleshooting/common-problems
I will apply a custom fix for this issue but I don't have time to send a pull request in a short time, sorry.
Yusuf