Page 1 of 2

Mobile Browser

Posted: Thu Jan 03, 2019 7:35 pm
by jpgb
I´m getting a strange behaviour on mobile browsers (mobile devices). (image attached)
transferir.jpg
transferir.jpg (5.62 KiB) Viewed 3512 times
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

Re: Mobile Browser

Posted: Thu Jan 03, 2019 9:46 pm
by Lech Kulikowski
Hello,

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

Posted: Thu Jan 03, 2019 11:46 pm
by jpgb
The viewer is in a modal form on top of a Single Page Application
Sem Título.jpg
Sem Título.jpg (48.06 KiB) Viewed 3507 times
Thanks
JB

Re: Mobile Browser

Posted: Fri Jan 04, 2019 8:35 am
by Lech Kulikowski
Hello,

Please try to set the FullScreenMode = 'true'

Thank you.

Re: Mobile Browser

Posted: Fri Jan 04, 2019 7:20 pm
by jpgb
Done.

Now i get the same error in the desktop browser.

The mobile browser continues the same.

JB

Re: Mobile Browser

Posted: Fri Jan 04, 2019 8:55 pm
by Lech Kulikowski
Hello,

Please send us a simple project which reproduces the issue for analysis.

Thank you.

Re: Mobile Browser

Posted: Fri Jan 04, 2019 9:38 pm
by jpgb
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

Re: Mobile Browser

Posted: Tue Jan 08, 2019 6:27 pm
by jpgb
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
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.

Re: Mobile Browser

Posted: Tue Jan 08, 2019 8:25 pm
by Lech Kulikowski
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.

Re: Mobile Browser

Posted: Wed Jan 09, 2019 4:30 pm
by jpgb
Hi Lech,

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.