chinchang / chinchang/hint.css

Hints not shown on inputs and selects

Open
#49 1 comment 0 reactions 0 assignees View on GitHub
css-support-required faq
Dominant language
CSS
Stars
8.4k
Forks
680
PR merge metrics
No merged PRs in 30d

Description

I would like to display hint messages on invalid form fields, especially on inputs. However, hovering over a form element doesn't show the hint tooltip. This behaviour is cross-browser (IE10, Chrome 29, FF 24).

Wrapping an input in another element and adding data-hint attribute on the parent works for Chrome & FF, causes trouble in IE10 (sometimes it is shown, sometimes it isn't).

JsFiddle:
http://jsfiddle.net/maros_urbanec/8v4y7/

Contributor guide

Open the contributing guide

Research direction

Start with the linked JSFiddle reproduction and compare the behavior of hints on inputs and selects in IE10, Chrome, and Firefox. Then inspect the repository's CSS-only tooltip behavior for form elements. Done means invalid inputs and selects display their hint messages consistently across the reported browsers without requiring a wrapper element.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.