Dialog | Scrolling breaks draggable dialog #11284
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-svmqvl?file=src/app/app.component.html
Current behavior
If a page is scrolled vertically, and a user tries to drag a draggable Dialog modal, it quickly moves to the bottom and gets stuck there.
Expected behavior
The modal should follow the user's mouse.
Minimal reproduction of the problem with instructions
See stackblitz link above.
Angular version: 13.0.3
PrimeNG version: 13.0.4
Browser: Chrome, Firefox
Language: TypeScript
The text was updated successfully, but these errors were encountered: