Long Press having different behavior for Espresso and UiAutomator2

Hi ,
I am observing different behavior with UiAutomator2 and Espresso driver for appium , in longPress Action.

in my app , we have requirement , when perform longpress on element , it display Menu and create tick mark on element. from Menu we need to select index and proceed .

This code was working fine with UiAutomator2 , recently we switch to Espresso , and observing, when do long press on element , its directly create mark on element , but not displaying Menu.

Menu usually disappear , if you tap on the screen.

Please look into this issue and suggest some solution of Fix the problem

Please suggest any workaround for this