You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Empty comment field displays unnecessary "please fill out this field" tooltip when hovered over in Firefox #2349
As stated in the title, this tooltip appears when mousing over the comment field while it is empty. I know how issue comments work, I don't need this appearing and obscuring my text every time I go to write a comment. This is something which happens in normal GitHub, so I was hoping Refined GitHub would be able to fix it. I guess that makes this a feature request?
This only happens in Firefox as far as I can tell, which is possibly why it seems to have gone unnoticed. It's definitely a part of the site itself though, and not the browser: this message will appear in Chrome, but only when hovering over the issue title field, and not the comment field. In that case it's not really a problem though, since that's the default focused text box and the tooltip appears low enough that it doesn't cover the text anyway.
The tip comes from required attribute of <textarea>, removing it when the comment field is empty will break GitHub's form validation and cause the comment button to be disabled.
...this message will appear in Chrome, but only when hovering over the issue title field, and not the comment field...
That's because the issue title field is a <input> with required attribute as well, but I have no idea why Chrome doesn't show the tip for <textarea>.
Activity
kidonng commentedon Aug 18, 2019
The tip comes from
requiredattribute of<textarea>, removing it when the comment field is empty will break GitHub's form validation and cause the comment button to be disabled.That's because the issue title field is a
<input>withrequiredattribute as well, but I have no idea why Chrome doesn't show the tip for<textarea>.fregante commentedon Aug 22, 2019
Would adding a
title=''attribute avoid the tooltip? If so, in both browsers, this can be added as a feature.PR welcome
kidonng commentedon Aug 22, 2019
@fregante Yes, works on both browsers
vrad-exe commentedon Aug 15, 2021
Not sure if I should open a new issue for this, but this now happens again in issue forms.
vrad-exe commentedon Dec 13, 2022
This has started happening again