Select to view content in your preferred language

Share widget not working in mobile view

187
4
Jump to solution
04-03-2025 03:35 AM
DebSF
by
Occasional Contributor

I have a Share widget set up in my ExB app (AGOL). It works fine on large and tablet screens, but if I try and open it on most of the mobile screen sizes, the share pop-up briefly shows, then disappears and I get a white area appear to the right of the screen, with the rest of the app shifted to the left (on this screenshot you can't actually see the share widget button because it's been shifted off the left of the screen): 

DebSF_0-1743676326948.png

From what I can tell, it seems to be because the width of the share pop-up is too big for the screen size - if I use the biggest width of mobile screen available in the ExB previews (414 x 736), the share pop-up just fits within the width so this doesn't happen.

Is this a known issue/any workaround?

0 Kudos
1 Solution

Accepted Solutions
NicoleJohnson
Frequent Contributor

You could try sticking it in a widget controller widget? That will show the widget in a panel. Here's an "inline" share widget inside a "floating" widget container widget at 360 x Auto in live view (I'm using Enterprise 11.3, so YMMV):

NicoleJohnson_1-1743772205155.png

 

 

View solution in original post

4 Replies
DebSF
by
Occasional Contributor

By the way the Inline share type doesn't work well either - the important option for us is the Embed, and that has the same issue as the pop-up. 

0 Kudos
NicoleJohnson
Frequent Contributor

You could try sticking it in a widget controller widget? That will show the widget in a panel. Here's an "inline" share widget inside a "floating" widget container widget at 360 x Auto in live view (I'm using Enterprise 11.3, so YMMV):

NicoleJohnson_1-1743772205155.png

 

 

Yuriko
by
Frequent Contributor

I have found the actual display on mobile devices differs from the devtools emulator options. Is this screenshot from your web browser? If you're able to publish and check your device it might not be a problem. 

0 Kudos
DebSF
by
Occasional Contributor

Thanks @NicoleJohnson, this works with it in the panel, although doesn't work with "inline" view like yours as the embed button still tries to open to the right of the map.

@Yuriko unfortunately it was both on the emulator and the mobile device.

0 Kudos