Mouse up in NativeMessageBox

Hi, 

It appears that I spotted a bug using NativeMessageBox on iOS. (mine is iOs7)

This is a multi touch issue:

All mouse up that were down before invoking the NativeMessageBox are not sent if released during NativeMessageBox life.
This causes many problems in apps that are using touch indexes to behave.

-----------------------------------

Mouse Down 1 (OK)

Open NativeMessageBox (OK)

Mouse Up 1 (Never sent) (FAIL)

Close NativeMessageBox  (OK)

----------------------------------

Mouse Down 1 (OK)

Open NativeMessageBox (OK)

Close NativeMessageBox (OK)

Mouse Up 1 (OK)

 

I assume this generate an internal stuck mouse down. 

Hi Jules, 

I  have been experiencing this problem again making some of your other components not working (Drag and Drop)

After using NativeMessageBox, a stuck Mouse Down is generated. Then, the following code in Drag And Drop is not working anymore:

Thank you for your help !
 
 

    void DragImageComponent::timerCallback() override
    {
        forceMouseCursorUpdate();
        if (sourceDetails.sourceComponent == nullptr)
        {
            delete this;
        }
        else if (! isMouseButtonDownAnywhere()) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        {
            if (mouseDragSource != nullptr)
                mouseDragSource->removeMouseListener (this);
            delete this; 
        }
    }