diff options
author | 2023-05-10 22:56:45 +0800 | |
---|---|---|
committer | 2023-05-10 14:56:45 +0000 | |
commit | 1f1045fb2f25580c76ad23dd2312eafb2c9a4073 (patch) | |
tree | bf78667f431813261d573283b67a2749ba54b5ec /source/features/sync-pr-commit-title.tsx | |
parent | 747b87a6358c729e54148021d44c94e828603e01 (diff) | |
download | refined-github-1f1045fb2f25580c76ad23dd2312eafb2c9a4073.tar.gz refined-github-1f1045fb2f25580c76ad23dd2312eafb2c9a4073.tar.zst refined-github-1f1045fb2f25580c76ad23dd2312eafb2c9a4073.zip |
`fit-textareas` after `clear-pr-merge-commit-message` (#6638)
Diffstat (limited to 'source/features/sync-pr-commit-title.tsx')
-rw-r--r-- | source/features/sync-pr-commit-title.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/features/sync-pr-commit-title.tsx b/source/features/sync-pr-commit-title.tsx index c01d65b5..c2ee4a87 100644 --- a/source/features/sync-pr-commit-title.tsx +++ b/source/features/sync-pr-commit-title.tsx @@ -67,6 +67,9 @@ async function updateCommitTitle(): Promise<void> { if (field) { // Do not use `text-field-edit` #6348 field.value = createCommitTitle(); + + // There might be listeners that need to be notified + field.dispatchEvent(new Event('input', {bubbles: true})); } } |