Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

[#858715] Enforce drag n drop sizes before the update. #1653

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions public/templates/assets/editors/editorhelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
options.end();
}

// Enforce container size here, instead of relying on the update.
container.style.width = width + "%";
container.style.height = height + "%";

blurActiveEl();

trackEvent.update({
Expand Down