You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I just want to reload the mobile web page (viewerjs page) with ios(16.6) (including chrome, safari..).
When I reload the web page by location.reload() or location.href = ''; method, there is one error which is showing the pop-up that asks "if you want to download the page". I have downloaded the page, it was PDF and 0KB. I found this error's only prompted for ios. Android doesn't have this error. The code that I used is below.
I think this error is related with viewerjs because I tried this code in other web page that doesn't have viwerjs, and it has reloaded well without popup alert. The error is only causing in the web page that using viwerjs library.
Please let me know how can I reload the viewerjs page?
I want to reload the page whenever the orientation has been changed on a mobile, if not the customized viewerjs code cause some error when orientation has been changed. But it i reload the page, viewerjs page is working well without errors. That's why I want to reload the page.
The text was updated successfully, but these errors were encountered:
JihyeYoon1
changed the title
"location.reload()" method is not working in the mobile web page (ios mobile phone)
can't reload the viewerjs web page in ios mobile. when i reload the web page it shows the pop-up that asks "if you want to download the page"
Sep 5, 2023
JihyeYoon1
changed the title
can't reload the viewerjs web page in ios mobile. when i reload the web page it shows the pop-up that asks "if you want to download the page"
Can't reload the viewerjs web page in ios mobile. When I reload the web page it shows the pop-up that asks "if you want to download the page"
Sep 5, 2023
Describe the bug
I just want to reload the mobile web page (viewerjs page) with ios(16.6) (including chrome, safari..).
When I reload the web page by
location.reload()
orlocation.href = '';
method, there is one error which is showing the pop-up that asks "if you want to download the page". I have downloaded the page, it was PDF and 0KB. I found this error's only prompted for ios. Android doesn't have this error. The code that I used is below.I think this error is related with viewerjs because I tried this code in other web page that doesn't have viwerjs, and it has reloaded well without popup alert. The error is only causing in the web page that using viwerjs library.
Please let me know how can I reload the viewerjs page?
I want to reload the page whenever the orientation has been changed on a mobile, if not the customized viewerjs code cause some error when orientation has been changed. But it i reload the page, viewerjs page is working well without errors. That's why I want to reload the page.
The text was updated successfully, but these errors were encountered: