public popupContainsPoint(x as Int, y as Int) as Boolean:
Returns true when a point falls inside the open popup.
Native backends use this method to route popup clicks and wheel events even though the popup is painted outside the regular widget bounds.
if picker.popupContainsPoint(mouseX, mouseY):
print("date popup")