Slide Screen not working on Mobile Phones

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
tarmacalastair
Posts: 95
Joined: Wednesday 30 October 2019 14:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Great Britain
Contact:

Slide Screen not working on Mobile Phones

Post by tarmacalastair »

Hi,

I've created some Dashticz pages with mulitple screens and they work great on a PC (Firefox and Chrome on Ubuntu). I was reading the documentation and thought it would be great to create a menu for the family to use on our phones. I have followed the instructions at
https://dashticz.readthedocs.io/en/mast ... ide-button
to create some buttons but nothing happens when I press the buttons on a mobile browser.

I then thought I'd test out a previously created page with multiple screens. I've used 3 screens and the setting

Code: Select all

config['auto_slide_pages'] = '5'; 
to get it to slide between screens every 5 seconds.

Again, as with the menu test, this page works fine on a PC browser, sliding between screens every 5 seconds. But, on a mobile browser, nothing happens.

I wondered if my page was too complicated so I created a new page with 3 screens and just some blocktitles with the default widths on each screen but they still do not slide on a mobile phone. I'm afraid I don't have a tablet to test this on so can only test on Linux PC or phone.

I've tested on:
  • Android 7, with Chrome and Firefox
  • iPhone IOS 10.1, with Safari
On the Android phone, if I choose "Desktop Site" from the browser menu then the page will slide but the screen is too small to read and the browser does not remember to load the desktop site next time.

Just wondering if anyone is able to look at this please?

Many thanks.

I'm currently running V3.1.2 beta.
Running Domoticz and Dashticz beta on Raspberry Pi OS 32 bit - has anyone had success with 64 bit?

Desktop access from Ubuntu Linux
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Slide Screen not working on Mobile Phones

Post by Lokonli »

The screen swiper is indeed disabled on mobile devices. I don't know exactly why. It's a design choice made in the past.

I'll check whether swiper can be enabled on mobile devices as well.
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Slide Screen not working on Mobile Phones

Post by Lokonli »

I tested it, and it all seems to work.

I'm preparing a new beta release. I'll enable swiper for mobile devices as well.
If needed, I'll add a configuration parameter, depending on the feedback.

The new beta will be released within a few days.
tarmacalastair
Posts: 95
Joined: Wednesday 30 October 2019 14:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Great Britain
Contact:

Re: Slide Screen not working on Mobile Phones

Post by tarmacalastair »

Wow, thanks!
Running Domoticz and Dashticz beta on Raspberry Pi OS 32 bit - has anyone had success with 64 bit?

Desktop access from Ubuntu Linux
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest