CalloutBox dismissal behaviour


#1

Hello,

thanks at first that you already added a flag for switching the dismissal bahaviour. The problem I have now is that with the current solution only the mouseDown event is consumed. But I think it would be best to also consume the mouseUp event. So dismiss the box not until the mouse is released again.

Do you think this is possible to implement?

Best


#2

But a mouseUp will never be sent to a component that hasn't already received a mouseDown..?

I'm not sure how it could be changed to wait until a mouse-up happens, because it gets dismissed on the first event that hits a non-modal component, regardless of what that event is.