greenelab / connectivity-search-frontend

Frontend code for connectivity search (formerly "Hetmech")
https://het.io/search
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

remove material ui, fix downshift error message #126

Closed vincerubinetti closed 5 years ago

vincerubinetti commented 5 years ago

This PR removes the dreadful Material UI dropdown component, and replaces it with just regular div with custom styling, simplifying the html and css. As a result, it also allows Downshifts getMenuProps to function correctly with regard to ref forwarding, avoiding the annoying "ref was not applied correctly" error.

vincerubinetti commented 5 years ago

CI is failing because of this bug in eslint: https://github.com/eslint/eslint/issues/12117