Collapsing mobile menu

Post Reply
wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Collapsing mobile menu

Post by wx_jon » Tue Oct 03, 2017 10:59 pm

Perhaps others have already noticed, but the mobile menu has a problem where touch scrolling causes it to collapse. This is mostly a problem when browsing the "weather station" tab, since the contents of that drop-down are larger than most phones' screens. Has anyone also had a problem with this, or even better, fixed it?

User avatar
Fraggboy
Forecaster
Forecaster
Posts: 193
Joined: Wed Sep 27, 2017 2:45 pm
Location: Sunny California
Station model: Bloomsky II + Storm
Software: Bloomsky
Contact:

Re: Collapsing mobile menu

Post by Fraggboy » Wed Oct 04, 2017 1:14 am

I too exhibit the same issue on an iPhone 7+.

I click on the weather icon. It expands. When I try to scroll down it collapses also.
Image

User avatar
dmgould
Forecaster
Forecaster
Posts: 173
Joined: Sat Aug 26, 2017 2:43 am
Location: Divide, Colorado, USA
Station model: Davis Pro 2 Plus Wireless
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by dmgould » Wed Oct 04, 2017 2:13 am

I don't use the menu on my mobile version. MT is a pretty sophisticated program to try and run it all on a phone. I just set my mobile version up as a single column with basic blocks on the mobile home page, and just don't mess with trying to move around with the menus.
Dave G
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by Jachym » Wed Oct 04, 2017 9:18 am

Hi,
thats what you need to do. It really is impossible to display some of the graphs and tables nicely in portrait mode.

If you have some higher end phone I would use the Desktop version in landscape mode.

And for the mobile use 1 column of blocks only.

wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Re: Collapsing mobile menu

Post by wx_jon » Wed Oct 04, 2017 6:50 pm

Sure, it's all well and good for us, since we know how to get the best from our webpages. But it's not ideal for our visitors, who would probably like to see more than just the homepage, but don't know how to get the best from our site. It's a similar reason to why I would like to see a mobile version of the blog plugin, so that visitors who click on links on Twitter (almost certainly from a mobile phone) see the most optimized view.

azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by azchrisf » Mon Jan 08, 2018 2:54 pm

I've encountered this too, and my users have been complaining about it, so I hope this is on the list to fix...
Image

User avatar
Johnny
Developer
Developer
Posts: 313
Joined: Sat Aug 19, 2017 10:16 pm
Location: Watford, Hertfordshire, England
Station model: Davis Vantage Pro2 Plus
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by Johnny » Mon Jan 08, 2018 8:06 pm

You could always give the new mobile interface a try (version 17 - Nectarine). Go to 'Main Setup' scroll down to 'Desktop and Mobile homepage' and under 'Mobile Homepage' select 'Responsive Fixed Bootstrap' from the drop-down.

Mobile-Page.jpg
Mobile-Page.jpg (32.85 KiB) Viewed 27610 times
Image
Davis Vantage Pro2 Plus: http://www.watfordweather.uk

azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by azchrisf » Mon Jan 15, 2018 9:03 am

Nah...
It's certainly fixable - how else do the millions of websites with dynamic menus work fine on phones?
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by Jachym » Mon Jan 15, 2018 1:08 pm

Thats why I created the new page which works fine.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by Jachym » Mon Jan 15, 2018 1:13 pm

azchrisf wrote: Mon Jan 15, 2018 9:03 am Nah...
It's certainly fixable - how else do the millions of websites with dynamic menus work fine on phones?
Probably, but if you dont have the device which causes the issue the only way to solve it is if someone who does found a solution and sent it to me...

azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by azchrisf » Mon Jan 15, 2018 8:55 pm

Jachym wrote: Mon Jan 15, 2018 1:13 pm
azchrisf wrote: Mon Jan 15, 2018 9:03 am Nah...
It's certainly fixable - how else do the millions of websites with dynamic menus work fine on phones?
Probably, but if you dont have the device which causes the issue the only way to solve it is if someone who does found a solution and sent it to me...
Google has an Android emulator that runs on the PC, and there is Bluestacks App player, plus another program that allowed running Android apps on the PC - so you can install the browser with the issue and see it without having to purchase 2000000 different phones
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by Jachym » Tue Jan 16, 2018 5:18 am

Emulators are not reliable, I tried those, not to mention that 99% of them are for windows.

Use the responsive mobile site, that one looks nice, I do not recommend using the other one, I created this new one, which in my opinion is better, works well on any device and I only left the other one there because some people might prefer it.

azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by azchrisf » Wed Jan 17, 2018 6:18 pm

Well, it's still something that can be fixed again considering the millions of websites that use menus on phones just fine. It's just a matter of taking the time to do it. I just hope sometime you will look at fixing the menu.

I use the blocks and don't care for the static bootloader page.
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by Jachym » Wed Jan 17, 2018 6:56 pm

Unless I physically have the device to test it I will not look into it any further. Its not about time.

But anyone is welcome to give it a try, in the end it is a community project and if someone sends me a solution Im more than happy to implement it.

azchrisf
Observer
Observer
Posts: 46
Joined: Tue Jan 02, 2018 2:55 pm
Location: Phoenix, AZ
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by azchrisf » Tue Feb 20, 2018 8:10 am

In case anyone is interested, since I had to fix this myself, removing the resizeFix function in mobile/menu.js fixed the problem. Whether this breaks something I don't know but my menu now displays and works without closing itself.
Image

wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Re: Collapsing mobile menu

Post by wx_jon » Tue Feb 20, 2018 8:37 pm

Having been otherwise busy lately, I'm just now getting to test the new mobile page. First impression is that the font is quite small on my 5-inch phone screen.
azchrisf wrote: Tue Feb 20, 2018 8:10 am In case anyone is interested, since I had to fix this myself, removing the resizeFix function in mobile/menu.js fixed the problem. Whether this breaks something I don't know but my menu now displays and works without closing itself.
This appears to work for me too. No issues encountered yet.

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Collapsing mobile menu

Post by Dehatter » Wed Feb 21, 2018 3:59 am

I'm staying out of this discussion. lol.

Tom
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Collapsing mobile menu

Post by Jachym » Wed Feb 21, 2018 7:33 am

OK, if this turns out to be working for all I will implement it, but given I do not have any Apple device to test it I will rely on your feedback

mchd17
Forecaster
Forecaster
Posts: 196
Joined: Sat Mar 17, 2018 2:01 am
Location: Illinois
Station model: Davis Pro2 Plus
Software: Meteobridge

Re: Collapsing mobile menu

Post by mchd17 » Tue Apr 03, 2018 12:40 am

by removing resizeFix function in mobile/menu.js did not work for me on android.

would this be a css thing?

mchd17
Image

Post Reply