Pomax / react-onclickoutside

An onClickOutside wrapper for React components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It reacts to the very click which opened the Menu

linvain opened this issue · comments

commented

So this can't be opened at all:

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

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