Modal dialog on a mobile phone

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Modal dialog on a mobile phone

Post by alex4orly »

Hello friends,
I jst finished setup of a simple PayPal account for this website:
https://communitylifestyleaccommodation.org.au -> Menu option "CLA-Support"
It works fine, but on a mobile phone or a smaller device - the width of the Modal Dialog with the Terms & Conditions is two wide.
I tried hiding the original and made a smaller version, but the larger one still comes up on the break points.

Any idea how to fix that?

Thanks
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal dialog on a mobile phone

Post by Pablo »

A modal dialog can have a different size in breakpoints.
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal dialog on a mobile phone

Post by alex4orly »

Yes, I did that.
I have a breakpoint at 786 and 320
But on my mobile phone - it stll comes up at full width

So, what else can I do?
Thanks
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal dialog on a mobile phone

Post by Pablo »

To be able to help you I need to see your (stripped) project.

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal dialog on a mobile phone

Post by alex4orly »

OK, made a minimal version of the project, the file is here:
https://communitylifestyleaccommodation ... 4Pablo.wbs

The menu option is calling through an event the javascript function (my own code) but had to leave it in to show the problem
IT loads a Dialog and loads automatically on top a Modal dialog.

On a mobile phone, it brings up the Modal dialog in the full screen width, this is what I am trying to resolve

Thanks
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal dialog on a mobile phone

Post by Pablo »

In 'Manage breakspoints' select 'Activate breakpoint when browser window is larger than the device width', otherwise the 320 is never activated because there are not many devices smaller than 320...
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal dialog on a mobile phone

Post by alex4orly »

Thannks for the tip.

It "Kind" of works.... Whan visiting on my mobile phone - it shows up in full size and only reduces itself when I scroll down the page.
This should not be the case

What else should I do?

Thanks
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Modal dialog on a mobile phone

Post by Pablo »

The browser should immediately show the smaller size.
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Modal dialog on a mobile phone

Post by alex4orly »

Well, it seems the browser didn't read the manual

Thanks again
Post Reply