React-tooltip: Doesn't work on disabled inputs

Created on 22 Mar 2017  路  2Comments  路  Source: wwayne/react-tooltip

If an input is disabled, the tooltip doesn't show.

Most helpful comment

It seems like disabled <input> doesn't emit any pointer events.

Try to wrap your input in another element, like span!

http://hmnid.ru:8090/disabled-input

https://github.com/huumanoid/react-tooltip-issue-test/blob/master/src/disabled-input.jsx

https://html.spec.whatwg.org/multipage/forms.html#enabling-and-disabling-form-controls:-the-disabled-attribute

All 2 comments

It seems like disabled <input> doesn't emit any pointer events.

Try to wrap your input in another element, like span!

http://hmnid.ru:8090/disabled-input

https://github.com/huumanoid/react-tooltip-issue-test/blob/master/src/disabled-input.jsx

https://html.spec.whatwg.org/multipage/forms.html#enabling-and-disabling-form-controls:-the-disabled-attribute

Hey @Wayneio I'm considering this issue as resolved. If I'm wrong, please, let me know!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Joseppi83 picture Joseppi83  路  4Comments

abijames picture abijames  路  3Comments

bonbonio picture bonbonio  路  4Comments

rothwelljeff picture rothwelljeff  路  3Comments

oran1248 picture oran1248  路  3Comments