Issue: Search Widget with multiple sources in mobile (Portrait)

193
2
Jump to solution
2 weeks ago
ForrestLin
Occasional Contributor

My web app used Search Widget with multiple sources. When opening it in mobile device (iPhone) with portrait orientation, I got issue below:

ForrestLin_2-1714682364324.png

ForrestLin_1-1714682096222.png

It's fine with landscape orientation.

ForrestLin_3-1714682491174.png

It's also fine in tablet (iPad) with both portrait and landscape orientation, and it's fine in desktop.

Thanks.

 

Forrest

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

By default, mode of Expand is auto, you can set to floating to prevent the drawer from showing on smaller screens.

https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Expand.html#mode

View solution in original post

0 Kudos
2 Replies
ReneRubalcava
Frequent Contributor

By default, mode of Expand is auto, you can set to floating to prevent the drawer from showing on smaller screens.

https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Expand.html#mode

0 Kudos
ForrestLin
Occasional Contributor

@ReneRubalcava 

The issue is resolved by setting mode to floating.

Thanks.

Forrest

0 Kudos