Skip to content

Empty comment field displays unnecessary "please fill out this field" tooltip when hovered over in Firefox #2349

Closed

Description

@vrad-exe

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.

Here's a screenshot of the tooltip in question.
image

Activity

  1. kidonng commented on Aug 18, 2019

    @kidonng
    Member

    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>.

  2. fregante commented on Aug 22, 2019

    @fregante
    Member

    Would adding a title='' attribute avoid the tooltip? If so, in both browsers, this can be added as a feature.

    PR welcome

  3. added
    small
    on Aug 22, 2019
  4. kidonng commented on Aug 22, 2019

    @kidonng
    Member

    @fregante Yes, works on both browsers

  5. vrad-exe commented on Aug 15, 2021

    @vrad-exe
    Author

    Not sure if I should open a new issue for this, but this now happens again in issue forms.

  6. vrad-exe commented on Dec 13, 2022

    @vrad-exe
    Author

    This has started happening again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedenhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions