Open anonimeact opened 6 months ago
Could you please provide a reproducible example ?
You need to add the same value on both points. Please see the following
return RelativeRect.fromSize(
Rect.fromPoints(
popupButtonObject.localToGlobal(popupButtonObject.size.bottomLeft(const Offset(0, 20)), ancestor: overlay),
popupButtonObject.localToGlobal(popupButtonObject.size.bottomRight(const Offset(0, 20)), ancestor: overlay),
),
Size(overlay.size.width, overlay.size.height),
);
Hi, i try to add space between the searchbox and popup menu by add custom positionCalback like this, and not working.
but when i try changing 20 with negative value (e.g: -20), the popupmenu go up, Is there any suggestion regarding my confusion?