Hi everyone,
I have noticed that when I open a dialog, which can be dragged, and make a click somewhere on the dialog’s header or footer, then the dialog moves a little bit down. I could reproduce it on the vaadin’s example taken from the docs for Dialog. link
- open the link
- click on ‘Show dialog’ button
- click on header/footer of the dialog
- dialog moves a bit down
Also I have noticed that when I make a click on header/footer, a new css property is added to the dialog’s overlay - style=“position:absolute”; which is not present when I have a newly opened dialog:
I assume a single click is considered as an attempt to drag and “position:absolute” comes into play, making this move downwards, but I didn’t mean to drag, just a click. And still, I don’t want to disable the ability to drag the dialog.
Is there a way to fix/overcome this?
Thanks in advance