Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1750 from DennisKehrig/dk/issue-1606
Browse files Browse the repository at this point in the history
Fixes #1606
  • Loading branch information
jasonsanjose committed Oct 3, 2012
2 parents 1c3c822 + d574dee commit 83c3a46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor/MultiRangeInlineEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@ define(function (require, exports, module) {
this.hostEditor.setInlineWidgetHeight(this, widgetHeight, ensureVisibility);

// The related ranges container size itself based on htmlContent which is set by setInlineWidgetHeight above.
this._updateRelatedContainer();
// Use setTimeout to trigger a layout update before accessing positions, heights, etc.
window.setTimeout(this._updateRelatedContainer);
};

/**
Expand Down

0 comments on commit 83c3a46

Please sign in to comment.