commit | 6a0a1073527caa46503927903947a7366162eae7 | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Fri Oct 16 15:01:34 2020 +0200 |
committer | Ben Rohlfs <brohlfs@google.com> | Fri Oct 16 23:07:52 2020 +0200 |
tree | ea5d55f855e26b0aae55974b473151da9b48fb43 | |
parent | 4c41f2c4c38582641c40c1615c848518c52ec859 [diff] |
Fix repositioning the reply dialog when the attention section expands Bug: Issue 13511 Change-Id: I88b7f0ce4249b4d47b27264e71451cf44f971ca5
diff --git a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts index b3478b1..7fc5973 100644 --- a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts +++ b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
@@ -889,6 +889,10 @@ _handleAttentionModify() { this._attentionExpanded = true; + } + + @observe('_attentionExpanded') + _onAttentionExpandedChange() { // If the attention-detail section is expanded without dispatching this // event, then the dialog may expand beyond the screen's bottom border. this.dispatchEvent(