ComboBox with parent auto-closes after trackpad click

I’m experiencing an issue which only happens under the following combination of conditions:

  1. ComboBox with PopupMenu::Options::withParentComponent(…) set via LookAndFeel
  2. Popup contains more items than can fit the parent, leading to the arrow button being displayed
  3. ComboBox is opened via tap on laptop trackpad (Windows 10 tested)

In this scenario, the ComboBox popup menu displays briefly and then immediately closes.

Note that usually a tap click like this works fine both within JUCE and within for example web browsers and other applications. So there’s something JUCE specific going during the above combination of conditions.