gdotdesign / elm-ui

UI library for making web applications with Elm
https://elm-ui.netlify.com
BSD 2-Clause "Simplified" License
920 stars 39 forks source link

Date not being picked in FireFox #63

Closed michie1 closed 7 years ago

michie1 commented 7 years ago

When I go to http://elm-ui.info/reference/date-picker in FireFox 51.0.1 (64-bit) on Ubuntu 16.04 and click on the date field in order to select a new day, the new date is not being picked. Going to another month isn't working either, because it closes the date picker. ui-datepicker-firefox

gdotdesign commented 7 years ago

Thanks for reporting this!

It seems that Firefox handles elements with tabindex differently from other browsers, there is stackoverflow thread about it: http://stackoverflow.com/questions/28772810/in-firefox-click-on-absolute-element-inside-focusable-element-does-not-focus-fo

I'll look into possible solutions soon.

gdotdesign commented 7 years ago

Here is the commit that fixes it https://github.com/gdotdesign/elm-ui/commit/bd3e9fd139822d05d8be76d02ca106b6e6625e01.

I'll leave this issue open until the fix is released with a new version.

gdotdesign commented 7 years ago

Released in https://github.com/gdotdesign/elm-ui/releases/tag/1.1.0