Skip to content
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

URL access with slide anchors won't slide to correct slide on mobile #4613

Open
ecourdoisy opened this issue Apr 4, 2024 · 3 comments
Open
Labels

Comments

@ecourdoisy
Copy link

Hello,

Description

I'm working on a website with full page, working fine :)

Im using fullpage on home page with section and in other pages with slides.

When I go to direct url on slide like this : https://brachparis.com/restaurant-bar-rooftop/#univers/chef, it's not displaying the good slide !

But, if I use menu, or go on https://brachparis.com/restaurant-bar-rooftop/#univers and then click on "chef" it's working...

I can't found why slides is not at the right position, no custom css on this part :(

Link to isolated reproduction with no external CSS / JS

I'm sorry but I can't reproduct this in fiddle because it's due to url and fiddle works with an iframe, maybe an other idea to check this ?

Steps to reproduce it

Just do on the url https://brachparis.com/restaurant-bar-rooftop/#univers/chef and check item select and content displayed : not the good one

Versions

MacOs last version, on chrome last version
website using wordpress, but the code is in custom theme, without plugin for this part

thanks a lot

@alvarotrigo
Copy link
Owner

alvarotrigo commented Apr 4, 2024

I can't reproduce your issue on this demo page:
https://alvarotrigo.com/fullPage/extensions/reset-sliders.html#firstPage/1

I tried Safari, Chrome and Firefox in the latest MacOS.

So it seems to be a problem directly related with your page.

Try to isolate the issue and reproduce it in a basic example like this one:
https://alvarotrigo.com/fullPage/extensions/reset-sliders.html#firstPage/1

You can take any of the examples as a base for your reproduction. Then upload it somewhere where you can share it or just paste the HTML code of the page in here or in codepen.

@ecourdoisy
Copy link
Author

Thanks @alvarotrigo for your reply, we found solution with changing script version. Its know working on desktop but not on mobile version. Same in your script example, direct link doens't work on mobile version :(

@alvarotrigo
Copy link
Owner

alvarotrigo commented Apr 12, 2024

Mm. that's interesting...
Yeah I've just tried on my iPhone on both Safari and Chrome and it seems that when accessing directly from a link the anchors won't have any effect on the position of the horizontal slider.

I'll mark it as a bug for further investigation.

Thanks for reporting it! 👍

@alvarotrigo alvarotrigo changed the title problem on url access to slides with fullpage URL access with slide anchors won't slide to correct slide Apr 12, 2024
@alvarotrigo alvarotrigo changed the title URL access with slide anchors won't slide to correct slide URL access with slide anchors won't slide to correct slide on mobile Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants