gregziegan / elm-autocomplete

Autocomplete for Elm apps; in Elm
http://package.elm-lang.org/packages/thebritican/elm-autocomplete/latest
BSD 3-Clause "New" or "Revised" License
173 stars 43 forks source link

blur does not hide the menu #54

Open isilmartinez opened 7 years ago

isilmartinez commented 7 years ago

click on first input box and type, click on second input box and type Both overlays remain opened.

Version: 4.0.3 Elm 0.18

ericgj commented 7 years ago

See #33 . But not sure the status of this library, it may be in the process of being moved/rewritten in https://github.com/thebritican/elm-menu

isilmartinez commented 7 years ago

Yeah that could do the work (I was doing it with the standard onBlur event and applying hidden when there were no focus) but the onBlur applies before the onClick, I have seen that onMouseDown were present in older versions but looks like it was removed