Bug: PopupMenu gets into flickering, locked state on iOS and Android

There are many issues with submenus on touchscreens with JUCE. The PopupMenu code is really focused on mouse interaction. I have attempted to fix a lot of these issues here, I think the code includes something similar to you fix: Improving PopupMenu for touch screens