Skip to content

Incorrect ghost position in sort plugin on Bootstrap modal window #741

Open
@yusufozturk

Description

@yusufozturk

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.

image

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

Metadata

Metadata

Assignees

Labels

bugIdentified bug which needs a fix

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions