Mobile Browser
Mobile Browser
I´m getting a strange behaviour on mobile browsers (mobile devices). (image attached)
Few options and i cannot print or save in a mobile phone.
I´m using the last version.
It´s working on regular desktops...
Is there something we can do about it?
Thanks
JB
Few options and i cannot print or save in a mobile phone.
I´m using the last version.
It´s working on regular desktops...
Is there something we can do about it?
Thanks
JB
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Mobile Browser
Hello,
Could you load the image with original size or send us a simple project which reproduces the issue for analysis.
Thank you.
Could you load the image with original size or send us a simple project which reproduces the issue for analysis.
Thank you.
Re: Mobile Browser
The viewer is in a modal form on top of a Single Page Application
Thanks
JB
Thanks
JB
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Mobile Browser
Hello,
Please try to set the FullScreenMode = 'true'
Thank you.
Please try to set the FullScreenMode = 'true'
Thank you.
Re: Mobile Browser
Done.
Now i get the same error in the desktop browser.
The mobile browser continues the same.
JB
Now i get the same error in the desktop browser.
The mobile browser continues the same.
JB
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Mobile Browser
Hello,
Please send us a simple project which reproduces the issue for analysis.
Thank you.
Please send us a simple project which reproduces the issue for analysis.
Thank you.
Re: Mobile Browser
Well Lech, thats kind of hard do accomplish at the moment, i will try
I´ve made some debugging on the mobile browser and have seen some clues that maybe can help:
1. If i take out the css property overflow: auto from "StiViewerReportPanel" at least we can see the report entirely
or
if i set the .stiJsViewerReportPanel min-heigth to a higher value (min-heigth is set to 100px???)
2. if i click on the save or print button there´s this error on javascript console:
VM81:8 Uncaught ReferenceError: style is not defined
at HTMLDivElement.s.changeVisibleState (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:119905)
at StiJsViewer.postAction (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:175736)
at HTMLDivElement.a.action (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:61242)
at HTMLDivElement.a.onclick (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:59465)
related to the stimulssoft.reports.js line: "...style.marginLeft="-"+this.style.width,setTimeout(function(){s.style.transitionDuration="200ms"..."
JB
I´ve made some debugging on the mobile browser and have seen some clues that maybe can help:
1. If i take out the css property overflow: auto from "StiViewerReportPanel" at least we can see the report entirely
or
if i set the .stiJsViewerReportPanel min-heigth to a higher value (min-heigth is set to 100px???)
2. if i click on the save or print button there´s this error on javascript console:
VM81:8 Uncaught ReferenceError: style is not defined
at HTMLDivElement.s.changeVisibleState (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:119905)
at StiJsViewer.postAction (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:175736)
at HTMLDivElement.a.action (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:61242)
at HTMLDivElement.a.onclick (eval at globalEval (jquery-2.1.1.min.js:2), <anonymous>:8:59465)
related to the stimulssoft.reports.js line: "...style.marginLeft="-"+this.style.width,setTimeout(function(){s.style.transitionDuration="200ms"..."
JB
Re: Mobile Browser
Hi Lech,
Simple project base on your demo. there´s a modal.html page inside with a button that opens the modal and you can see how it shows.
I´m oppening it with chrome mobile.
Thanks
JB
Simple project base on your demo. there´s a modal.html page inside with a button that opens the modal and you can see how it shows.
I´m oppening it with chrome mobile.
Thanks
JB
Lech Kulikowski wrote: ↑Fri Jan 04, 2019 8:55 pm Hello,
Please send us a simple project which reproduces the issue for analysis.
Thank you.
- Attachments
-
- Demo.zip
- (5.94 MiB) Downloaded 386 times
-
- Posts: 7287
- Joined: Tue Mar 20, 2018 5:34 am
Re: Mobile Browser
Hello,
1. Please try to set the following options:
viewerOptions = new Stimulsoft.Viewer.StiViewerOptions();
viewerOptions.height = "600px";
viewerOptions.appearance.scrollbarsMode = true;
2. The issue is fixed. The fix will be available in the next build.
Thank you.
1. Please try to set the following options:
viewerOptions = new Stimulsoft.Viewer.StiViewerOptions();
viewerOptions.height = "600px";
viewerOptions.appearance.scrollbarsMode = true;
2. The issue is fixed. The fix will be available in the next build.
Thank you.
Re: Mobile Browser
Hi Lech,
The code in 1. doesnt solve the problem.
I will wait till the next build.
Thanks!
JB
The code in 1. doesnt solve the problem.
I will wait till the next build.
Thanks!
JB
Lech Kulikowski wrote: ↑Tue Jan 08, 2019 8:25 pm Hello,
1. Please try to set the following options:
viewerOptions = new Stimulsoft.Viewer.StiViewerOptions();
viewerOptions.height = "600px";
viewerOptions.appearance.scrollbarsMode = true;
2. The issue is fixed. The fix will be available in the next build.
Thank you.