Submenu not opening in mobile
jonathanface opened this issue · comments
Jonathan Face commented
Hi, great component and very useful. I just have one issue, which is opening submenus on a mobile device. I have a simple one-level deep menu:
<Menu id="plaintext_context">
<Submenu label="Create Association">
<Item id={ASSOCIATION_TYPE_CHARACTER} onClick={handleMenuItemClick}>Character</Item>
<Item id={ASSOCIATION_TYPE_PLACE} onClick={handleMenuItemClick}>Place</Item>
<Item id={ASSOCIATION_TYPE_EVENT} onClick={handleMenuItemClick}>Event</Item>
</Submenu>
</Menu>
This works fine in desktop, but on mobile the second level never appears. I get the "create association" menu to show up but the submenu items never appear, whether I tap on it or long press or anything. This happens both while emulating a mobile device with devtools and on my actual phone.
I wasn't sure if this was a bug or a problem with my implementation, so I copied the example code into a fresh react app and am seeing the same issue.