[Bug]: sp-tray retracts automatically when opened with less items in iOS simulator
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
sp-tray. sp-picker
Expected behavior
The sp-tray should not automatically retract when opened in any devices.
Actual behavior
The sp-tray automatically retracts when opened in iOS devices.
Screenshots
No response
What browsers are you seeing the problem in?
Safari
How can we reproduce this issue?
- Go to https://catalog-fixes--cc--adobecom.hlx.live/products/catalog?martech=off&milolibs=product-catalog-fixes
- visit the page, 2.
- click on Sort: Popularity
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
@Rajdeepc the link in the ticket(https://catalog-fixes--cc--adobecom.hlx.live/products/catalog?martech=off&milolibs=product-catalog-fixes) is not opening and thus I am unable to reproduce the bug. Can you look at this?
@blunteshwar @Rajdeepc the issue is reproducible at https://main--cc--adobecom.hlx.live/products/catalog?martech=off
On safari, if you click on the sort button below, the menu auto closes itself. the button must be close to the bottom of the viewport as in the screenshot.
@yesil Can you please confirm which version of ios and safari you are using,because on my end(ios 17.5) the bug is not present.
Will be fixed by #4396