diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js b/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js index 6ce6d125af6..6ed61189f83 100644 --- a/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js +++ b/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js @@ -83,8 +83,12 @@ ListPicker.prototype._handleWindowMessage = function(event) { this._config.anchorRectInScreen.y !== window.updateData.anchorRectInScreen.y || this._config.anchorRectInScreen.width !== window.updateData.anchorRectInScreen.width || this._config.anchorRectInScreen.height !== window.updateData.anchorRectInScreen.height) { - this._config.anchorRectInScreen = window.updateData.anchorRectInScreen; - this._fixWindowSize(); + // TODO(tkent): Don't fix window size here due to a bug of Aura or + // compositor. crbug.com/863770 + if (!navigator.platform.startsWith('Win')) { + this._config.anchorRectInScreen = window.updateData.anchorRectInScreen; + this._fixWindowSize(); + } } } delete window.updateData; |