Modal does not work in mobile web browser

zynsn
Tera Expert

Hi Developers,

 

We have a feedback widget that we are using from the ServiceNow store, the Feedback Widget app. 

 

https://store.servicenow.com/sn_appstore_store.do#!/store/application/b1b464e20fb00300c1098b9ae1050e...


However, the modal window does not work in a mobile web browser. It works well on desktop. Does anyone know what might be the cause of this?

 

zynsn_0-1713923714817.png

 

3 REPLIES 3

James Chun
Kilo Patron

Hi @zynsn,

 

Can you elaborate on what you mean by it's not working? 

From the screenshot, it looks like there is a modal but is it not responsive?

 

Also, just wondering why you are using a mobile web instead of a mobile app?

 

This looks like a custom plugin created by a 3rd party. It may be faster if you get in touch with their team.

 

Cheers

Hi @James Chun ,

 

The modal is not responsive, I cannot click out of it or do anything on the modal.

 

We wanted to get this to work on mobile web because we have some users that use the mobile web version of ServiceNow.


Yes, it is a custom plugin. I will get in touch with the 3rd party.

 

I figured I ask the community to see if anyone has come across mobile web issues with modal.

satya yalla
Tera Contributor

Hi @zynsn , 

 

I've encountered a similar issue with the feedback widget on mobile devices. Specifically, the modal window doesn't work on iPhone or iPad, but it functions correctly on Android phones.

Root Cause:

The issue is with the way the modal is handled in the widget code. To resolve this, you can modify the HTML where the modal starts by adding data-backdrop="false". This change has resolved the issue across all mobile devices.

 data-backdrop="false".
This change has resolved the issue across all mobile devices. Please find the screenshot below as a reference