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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError : 'previousElementSibling' #401

Open
Seol827 opened this issue Mar 9, 2023 · 5 comments
Open

TypeError : 'previousElementSibling' #401

Seol827 opened this issue Mar 9, 2023 · 5 comments

Comments

@Seol827
Copy link

Seol827 commented Mar 9, 2023

Description

Hello, I got a new error message馃槬.
I think this problem is caused on mobile size.
The problem occurs when I leave the main page(applied fullpage) and moves to another page.
It doesn't keep happening, it happens occasionally. So I don't know the cause.

error

error2

fullerror

+) Another issue

On mobile size, when I click the dragAndMove slidesNavigation, I got the error message.
image


code

image

Also I found the another issue, then I updated the version for @0.1.35

@alvarotrigo
Copy link
Owner

Can you please provide an isolated reproduction in Codesandbox with no CSS or JS files external to fullPage.js and the minimum amount of HTML code. Use empty sections unless strictly necessary for reproduction.

I can't reproduce on my side.

@alvarotrigo
Copy link
Owner

Does it happen if you remove the dragAndMove extension?

What are your fullpage initialization settings?

@Seol827
Copy link
Author

Seol827 commented Mar 10, 2023

@alvarotrigo

Does it happen if you remove the dragAndMove extension?

I removed the dragAndMove extension, everything is alright.

+The project unit is big now, so it is impossible for me to create the html file separately quickly. The error continues to occur in the dragAndMove.js file. In particular, it is strange that the corresponding error appears on a sub-page other than the main page I applied.

@Seol827
Copy link
Author

Seol827 commented Mar 10, 2023

@alvarotrigo I will send you the details by email.

@alvarotrigo
Copy link
Owner

alvarotrigo commented Mar 10, 2023

In particular, it is strange that the corresponding error appears on a sub-page other than the main page I applied.

Can you clarify this?

fullPage.js should only be initialized on the page you are using it.
Ideally, the JS & CSS files should also not be included if the page isn't using fullPage.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants