D
D
djok21422018-12-20 12:18:12
JavaScript
djok2142, 2018-12-20 12:18:12

Why is jQuery UI Dialog position reset after browser resize?

Hello.
Updated CMS DLE to version 13.0, it uses jQuery v2.2.4 and jQuery UI v1.9.2
Now, when resizing the browser window, all open dialog boxes reset their position, that is, they become centered in the browser window. In previous versions of jQuery, dialog boxes didn't behave this way.
Is it somehow possible to disable it in the code when creating a dialog box, or in some other way? I looked at the documentation api.jqueryui.com/dialog but did not find a similar option.
The pages have a chat in the dialog box, for convenience, the user can drag it to any place on the page at their discretion. And if the page also has a youtube video inserted through an iframe, and the user expands it to full screen, then after exiting the full screen mode, the chat dialog box is centered. It is very uncomfortable.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question