since we've change the `closeMenuWhenClickOutside` logic on the #31, we need a update here.