Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
1–10 of 16 posts
Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#2Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#3How does it deal with UU/accessibility?
Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#4How does it deal with UU/accessibility?
It looks like it doesn't. Tabbing through elements to focus on a button with it applied doesn't bring the hint up automatically, which would probably be the best experience here.
Reason I'm asking is that this is non-trivial, and takes time to verify with different browsers and NVDA and JAWS. Having dependencies solving these issues are great.
Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#5Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#6[1] https://picnicss.com/documentation (+ click on tooltip)
PS, I had the same feeling about a Google IO presentation but told myself that it was just a generic style; then I saw in the source a `css('picnic.css')`!
Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#7Just curious even though it's a really long shot, is it related in any way to Picnic CSS' Tooltip [1] (disclaimer: my own)? The button "Custom" and the black tooltip look quite similar, it is probably just chance but would love to know. [1] https://picnicss.com/documentation (+ click on tooltip) PS, I had the same feeling about a Google IO presentation but told myself that it was just a generic style; then I saw in t…
Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#8Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#9Nice to see compatibility with Preact and Inferno too. I use Preact a lot and only downside I experience really is lack of library support.
Re: Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
#10Nice to see compatibility with Preact and Inferno too. I use Preact a lot and only downside I experience really is lack of library support.
Have you tried making an alias for react with the library preact-compat in webpack config? It should make a lot of react libraries work seamlessly with preact too.