Mobile Browser

Stimulsoft Reports.JS discussion
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Mobile Browser

Post by jpgb »

I´m getting a strange behaviour on mobile browsers (mobile devices). (image attached)
transferir.jpg
transferir.jpg (5.62 KiB) Viewed 3506 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
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: Mobile Browser

Post 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.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Mobile Browser

Post 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 3501 times
Thanks
JB
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: Mobile Browser

Post by Lech Kulikowski »

Hello,

Please try to set the FullScreenMode = 'true'

Thank you.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Mobile Browser

Post by jpgb »

Done.

Now i get the same error in the desktop browser.

The mobile browser continues the same.

JB
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: Mobile Browser

Post by Lech Kulikowski »

Hello,

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

Thank you.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Mobile Browser

Post 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
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Mobile Browser

Post 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.
Attachments
Demo.zip
(5.94 MiB) Downloaded 386 times
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: Mobile Browser

Post 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.
jpgb
Posts: 67
Joined: Tue Mar 15, 2016 11:42 am

Re: Mobile Browser

Post 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.
Post Reply