sindresorhus/refined-github

Do you want to work on this issue?
You can request for a bounty in order to promote it!
`unfinished-comments` not working if user hasn't filled all required fields #4737
WEGFan posted onGitHub
Please ensure:
- The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
Description
- Open the example URL
- Write something in comment, leaving the title field empty
- Switch to another tab, "(Draft comment)" doesn't show in tab title
- Write something in title, switch to another tab
- "(Draft comment)" shows in tab title
I guess it's because when the title field is empty, "Submit new issue" button is disabled because title is required, however RGH thinks the issue is being submitted according the code here:
Screenshot
No response
Console errors
No response
Example URL
Browser(s) used
Firefox 91.0.2 & Chrome 92.0.4515.159