mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Fix Bug 72462
This commit is contained in:
@ -996,7 +996,7 @@ define([
|
||||
this.getPopover().saveText();
|
||||
this.getPopover().hideTips();
|
||||
|
||||
if (posY < 0 || this.getPopover().sdkBounds.height < posY || (!_.isUndefined(leftX) && this.getPopover().sdkBounds.width < leftX)) {
|
||||
if (posY < 0 || this.getPopover().sdkBounds.outerHeight < posY || (!_.isUndefined(leftX) && this.getPopover().sdkBounds.width < leftX)) {
|
||||
this.getPopover().hide();
|
||||
} else {
|
||||
if (this.isModeChanged)
|
||||
|
||||
@ -294,7 +294,7 @@ define([
|
||||
saveTxtReplyId = '';
|
||||
|
||||
if (this.getPopover()) {
|
||||
if (posY < 0 || this.getPopover().sdkBounds.height < posY) {
|
||||
if (posY < 0 || this.getPopover().sdkBounds.outerHeight < posY) {
|
||||
this.getPopover().hide();
|
||||
} else if (this.popoverChanges.length>0) {
|
||||
if (!this.getPopover().isVisible())
|
||||
|
||||
@ -109,7 +109,7 @@ define([
|
||||
_options.tpl = _.template(this.template)(_options);
|
||||
|
||||
this.arrow = {margin: 20, width: 10, height: 30};
|
||||
this.sdkBounds = {width: 0, height: 0, padding: 10, paddingTop: 20};
|
||||
this.sdkBounds = {width: 0, height: 0, outerWidth: 0, outerHeight: 0, padding: 10, paddingTop: 20};
|
||||
|
||||
Common.UI.Window.prototype.initialize.call(this, _options);
|
||||
|
||||
@ -772,8 +772,8 @@ define([
|
||||
|
||||
this.$window.css({maxHeight: sdkBoundsHeight + 'px'});
|
||||
|
||||
this.sdkBounds.width = editorBounds.width;
|
||||
this.sdkBounds.height = editorBounds.height;
|
||||
this.sdkBounds.width = this.sdkBounds.outerWidth = editorBounds.width;
|
||||
this.sdkBounds.height = this.sdkBounds.outerHeight = editorBounds.height;
|
||||
|
||||
// LEFT CORNER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user