summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSam Bigelow <sbigelow@gitlab.com>2018-12-17 20:25:41 -0500
committerSam Bigelow <sbigelow@gitlab.com>2018-12-17 20:25:41 -0500
commit9c18798275d455c78ebdac2f1ed6d25112c558fa (patch)
tree09ce9951bee850e03229419b1d9d551a35bfc5d8 /changelogs
parent8b4602041cf2c4a8738a4796d78720017249249f (diff)
downloadgitlab-ce-9c18798275d455c78ebdac2f1ed6d25112c558fa.tar.gz
Utilize :key to minimize extra rerenders
The diff notes automatically focus on mount, and when using the index (as opposed to line_code) for the v-bind:key, the comment form gets unnecessarily remounted, and therefore refocused.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/51606-expanding-a-diff-while-having-an-open-comment-form-will-always-scroll-down-to-the-comment.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/51606-expanding-a-diff-while-having-an-open-comment-form-will-always-scroll-down-to-the-comment.yml b/changelogs/unreleased/51606-expanding-a-diff-while-having-an-open-comment-form-will-always-scroll-down-to-the-comment.yml
new file mode 100644
index 00000000000..a845234b42f
--- /dev/null
+++ b/changelogs/unreleased/51606-expanding-a-diff-while-having-an-open-comment-form-will-always-scroll-down-to-the-comment.yml
@@ -0,0 +1,5 @@
+---
+title: Stop autofocusing on diff comment after initial mount
+merge_request: 23849
+author:
+type: fixed