Skip to content
Snippets Groups Projects
Commit 80013aaa authored by Sven Decabooter's avatar Sven Decabooter
Browse files

Issue #3341337 by matthiasm11: Scrolls to wrong position

parent fe8cace4
Branches
Tags
No related merge requests found
Pipeline #369534 canceled
......@@ -26,11 +26,9 @@ class OpenIframeCommand extends OpenDialogCommand {
*/
public function render(): array {
$this->dialogOptions['modal'] = isset($this->dialogOptions['modal']) && $this->dialogOptions['modal'];
$this->setDialogOption('autoResize', FALSE);
$this->setDialogOption('resizable', TRUE);
$this->setDialogOption('draggable', TRUE);
$this->setDialogOption('width', 1000);
$this->setDialogOption('height', 900);
$this->setDialogOption('autoResize', TRUE);
$this->setDialogOption('width', '80%');
$this->setDialogOption('height', 'auto');
return [
'command' => 'openIframe',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment