Given that I use a dialog and its close policy has been set to I press on an interactive item which is inside the dialog and then release outside of it(on the popup overlay), dialog closes. On the contrary, if I press on a non-interactive area inside the dialog and then release it the same way, dialog does not close.
In the attachment, I use a QtQuickControl Dialog and a TextEdit.
The expected behavior should be to keep the dialog opened on release, if press happens inside the dialog. This will also fix other cases where there is a flickable inside the dialog and user drags the contentItem but releases outside of the dialog.