"Dialog" position in a celular 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
manuelm
 
 
Posts: 85
Joined: Mon Apr 25, 2016 12:32 pm

"Dialog" position in a celular phone

Post by manuelm »

I have a problem with the "Dialog" window.

When you scroll down the web page, when you reach the blue area, a small yellow window with a form should appear.

If I open the web on a computer, it works perfectly.
The same on an iPad tablet in portrait mode.

Now, on a VERTICAL iPad tablet it does not open at all (in landscape mode there is no problem), and what worries me most is that on a cell phone (iPhone 16) it opens but shifted to the right, not in the center.

Is there a way to solve this without using breakpoints?

Should I use something else instead of "Dialog"?

The web in question is at https://wfh.com.ar/maculopatia
User avatar
Pablo
 
Posts: 23239
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: "Dialog" position in a celular phone

Post by Pablo »

I believe this issue is related to how the scroll event is implemented.

Currently, the event is triggered when the LayoutGrid1 is fully visible. However, due to its size, it may never completely fit within the viewport on smaller screens, preventing the event from being triggered.

I suggest attaching the event to a smaller element to ensure it becomes fully visible, even on smaller screens.
manuelm
 
 
Posts: 85
Joined: Mon Apr 25, 2016 12:32 pm

Re: "Dialog" position in a celular phone

Post by manuelm »

I tried now making the event only to the title "Dieta y degeneración macular relacionada con la edad". On the computer it works, but on the cell phone the "Dialog1" window does not appear.
User avatar
Pablo
 
Posts: 23239
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: "Dialog" position in a celular phone

Post by Pablo »

Did you republish all files?
manuelm
 
 
Posts: 85
Joined: Mon Apr 25, 2016 12:32 pm

Re: "Dialog" position in a celular phone

Post by manuelm »

It was "onscroll" and now it is "onscrollreveal". Now it is OK on cell phone, thank you for your help.
Post Reply