Select inside a popup

Is there a way to use a select inside a popup without the popup closing when opening the select?

The problem is that currently only one mobiscroll modal is allowed at a time, to prevent displaying multiple modals over each other - both the popup and the select picker are considered modals.
But you’re right, opening a picker control from a modal should be allowed. We will do some improvements on this, until than the workaround is that in the picker control’s onBeforeShow event set the active instance to null, this will prevent the closing of the popup:

onBeforeShow: function () {
  mobiscroll.activeInstance = null;

Let me know if this helps!


The workaround works seemingly well for now :slight_smile:

We fixed this in our latest 4.4.2 version, so the workaround is no longer necessary.

1 Like