The JS drag/drop library used by PhenoTips modal dialogues does not handle relative positioning well

Description

When a modal positioned relatively (e.g. `top: 35%`) is being dragged using a mouse it first jumps to the top of the screen, then returns to normal position (which is visually annoying)

The problem is in `dragdrop.js` code:

does not handle `this.element.top` being a percentage instead of an integer, so it moves the dialogue to the top (`top: 0px`)

Environment

None

Status

Assignee

Andrew Misyura

Reporter

Andrew Misyura

Labels

None

External issue ID

None

Fix versions

Affects versions

Priority

Minor
Configure