Abdallah Shahin
Results
2
comments of
Abdallah Shahin
@therealtgd > Then it closes the menu even if the user scrolls inside of it. Even if you just pass "closeMenuOnScroll" as a prop (which is technically equal to true)...
this work fine for me const handleCloseMenuOnScroll = e => !e.target.className?.includes("MenuList")? true : false return ( )