-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enter Fullscreen in Mobile view? #4342
Comments
Disable the scrollbars by using On fullpage.js v4 this issue will probably go away. |
Thanks Alvarotrigo. Tried what you suggested but still doesn't enter fullscreen mode in mobile. Only way i can currently do it is removing that entire script itself. I have changed my section's to this now if that makes any difference.
Cheers, W |
Can you provide a video please? |
I can't really as i only have a tablet and no other phone to record. Can send you over files though? I was looking at some other peoples example sites and they had the same behaviour on mobile. |
If your address bar gets hidden on the demo page and on the examples (like this one) then there's probably nothing we can do about it. I personally can not reproduce the issue on my iPhone 11 in either Safari, Firefox, or Chrome. (Using iOS 15.4). I'm not able to reproduce the issue either on Android by using real devices on browserstack.com using a Samsung S22 with 12.0. Video here: demo.mp4 |
I think we are getting cross wires. I WANT the URL and tabs to dissappear {when you push up with your thumb on android it hides the url and tabs}. That's full screen mode. It works on most sites but FP seems to restrict it. |
If you want it to disappear on scroll, then use This should get fixed in fullPage.js v4. But I'd probably recommend keeping the address bars visible if you want to prevent some glitches while the sections adapt to the new viewport size. Note we developers have very little control over the address bar. The only way to get the default behavior is by enabling the scroll bar. |
I think it might be an issue when the address bar is in the bottom of the windows in IOS on iphone. The scrollbar true/false doesn't seem to make any difference. When the user scrolls the available screen height grows and shrinks depending on if the adress bar hides or not... RPReplay_Final1648715514.MP4 |
Adding some css will prevent the safari adress bar from hiding, that solved it for me. maybe this is already an available setting that I missed or something. In that case, sorry but I just started working with this script :)
|
fullPage.js takes care of that. You can see those styles being applied to both the BODY and the HTML element with inline styles: I've tried this page from my iOS 15 iPhone and I can't reproduce the issue in Safari. However, I'm able to reproduce it on Browserstack.com. So this confuses me quite a lot. |
What iOS version are you using? I'm under 15.4 on my iPhone. |
When inspecting in Chrome on my Mac I can clearly see that your script DOES do this, however it doesn't seem to trigger on my phone which is weird... I'm using 15.3.1 on iPhone XS. I've configured Safari to use "Tab Bar" instead of "Single tab" (if that might have something to do with it?) |
ok, I just connected my iphone to my macbook for some debugging. It seems that there's nothing wrong with your script, but this HTML was missing
and as I added both my css and this markup at the same time I thought it was the css that fixed it. But it was the meta viewport! |
So just to clarify it, you are not able to reproduce the issue on this page then? |
I can reproduce the behaviour on this url, as it's missing a meta viewport. However, When I injected the meta viewport into the code, the url-bar stopped hiding when scrolling. So maybe you'll need to add the meta viewport? (I know that it will screw over all your css though) |
What is weird is that I can not reproduce the issue on my iOS 15.4 on that same URL. |
I guess we will never know :) At least we found a solution for the people experience the same error. Just add meta viewport 👍 |
Yeap, that's a good thing for sure! Thanks for that!! 👍 |
No problem! Thanks for replying so quickly on this 👍 |
Hiya,
Sorry might be noobish question but In mobile view and on tablet i am unable to enter full screen mode {like when i push up it hides the tabs and url bar on android}. Is that a Fullpage.js option i can change?
Currently i am using Fullpage like this for sections -
And my options look like -
Many thanks,
Will
The text was updated successfully, but these errors were encountered: