Pomax/react-onclickoutside

It reacts to the very click which opened the Menu

linvain opened this issue · 1 comments

So this can't be opened at all:

const Menu = ({ isOpen, toggleMenu }) => {
  Menu.handleClickOutside = toggleMenu
  return (
  . . .

Never mind, just don't use MDC React, it is the worst component library in the world