JedWatson / react-tappable

Tappable component for React
http://jedwatson.github.io/react-tappable/
MIT License
863 stars 90 forks source link

input[type="text"] does not blur on clicking an outside Tappable component #124

Open vlasnikita opened 6 years ago

vlasnikita commented 6 years ago

When Your DOM consists of text inputs (or elements with contenteditable="true" attribute) and one of them is focused, normally, outside click will blur it. But if You outside click a Tappable component - blur won't fire and focus'll persist.

Gist reproducing the issue: https://codepen.io/anon/pen/MBgemQ