Page 1 of 1

Full Screen on iOS with Safari or Chrome

Posted: Wed Dec 01, 2021 11:36 pm
by harzmann
Hello Forum,
I have created a Dashboard and integrate it in my Flask Application on a html-template.
The Full-Screen Option ist set to false, because I DON'T want to show the Dashboard in Full-Screen.

On a Windows Client with Chrome or Edge Browser it works fine - see attached Screenshot.
Only on an iOS based Tablet (e.g. iPad Air 4 with iOS14.8.1) the Dashboard is always displayed in Full-Screen - see attached Screenshot.
Does someone have a fix for me?

My Javascript code:
<!-- Report viewer scripts, may be external -->
<script type="text/javascript">

// Set full screen mode for the viewer
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.scrollbarsMode = true;
options.appearance.fullScreenMode = false;

// Create the dashboard viewer with specified options
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
var report = Stimulsoft.Report.StiReport.createNewDashboard();

// Load dashboard from url
report.loadFile("{{ url_for('static', filename='reports/dlcDashboard.mrt')}}");

// Create new DataSet object
var dataSetDLC = new Stimulsoft.System.Data.DataSet("dlcJSON");
var dataSetDDS = new Stimulsoft.System.Data.DataSet("ddsJSON");

// Remove all connections from the dashboard template
report.dictionary.databases.clear();

$.getJSON('/v_dlc_analysis/select_v_dlc_analysis', function ( data ) {
console.log(data);
dataSetDLC.readJson(data);

// Register DataSet object
report.regData(dataSetDLC.dataSetName, "", dataSetDLC);

});

$.getJSON('/v_dds_analysis/select_v_dds_analysis', function ( data ) {
console.log(data);
dataSetDDS.readJson(data);

// Register DataSet object
report.regData(dataSetDDS.dataSetName, "", dataSetDDS);

});

// Show dashboard in the Viewer
viewer.report = report;


</script>

Thanks for your help in advance.
Greetings Joerg

Re: Full Screen on iOS with Safari or Chrome

Posted: Thu Dec 02, 2021 3:08 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#5752

Re: Full Screen on iOS with Safari or Chrome

Posted: Fri Dec 03, 2021 9:25 am
by Lech Kulikowski
Hello,

We have added a new option:
viewerOptions.appearance.allowMobileMode = false;
it will be available in the next release build, within week.

Thank you.

Re: Full Screen on iOS with Safari or Chrome

Posted: Mon Dec 13, 2021 3:46 pm
by harzmann
Hello Support Team,
I have downloaded the latest version from 21/12/07 and set the option:

// Set full screen mode for the viewer
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.scrollbarsMode = true;
options.appearance.fullScreenMode = false;
options.appearance.allowMobileMode = false;

// Create the report viewer with default options
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);

But the issue still exists. Is the option integrated in this version? Have I set it right?

Thanks for your support and reply in advance.

BR Joerg

Re: Full Screen on iOS with Safari or Chrome

Posted: Tue Dec 14, 2021 8:07 pm
by Lech Kulikowski
Hello,

We couldn't reproduce the issue. Could you provide more detailed information on how to reproduce it?
Please send us a sample project that reproduces the issue for analysis.

Thank you.

Re: Full Screen on iOS with Safari or Chrome

Posted: Wed Dec 15, 2021 10:07 pm
by harzmann
Hi Support Team,

found the error (internal error in production/development deployment). Sorry was my fault.
Now it works great!
Thanks for your fast and great support.

Greetings and merry XMas.

Re: Full Screen on iOS with Safari or Chrome

Posted: Wed Dec 15, 2021 11:38 pm
by Lech Kulikowski
Hello,

You are welcome.