-
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
getPanelByElement function called passing an element instead of an array #4653
Labels
Comments
alvarotrigo
added a commit
that referenced
this issue
Sep 5, 2024
Thanks for reporting it! 👍 https://codepen.io/alvarotrigo/pen/wvLQOEK Fixed on dev! 🥳 You can try it out using npm install "https://github.com/alvarotrigo/fullPage.js.git#dev" --save |
FrancescoMessage
changed the title
getPanelByElement function called passing an element insted of an array
getPanelByElement function called passing an element instead of an array
Sep 5, 2024
Fixed in fullPage.js 4.0.29! 🥳 |
Well done! |
This was referenced Sep 27, 2024
This was referenced Oct 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, in Fullpage.js V 4.0.28 sometimes I have this javascript error if I load the page to a specific anchor (section):
Uncaught TypeError: panels.find is not a function
in this function:
I noticed that in this version, this line of code is added (d309822#diff-3f4acb3a8da52427effb980e67bb24e6f2092f287d69c9db90dfe35b953d4d25):
lazyLoadPanels(getPanelByElement(section));
getPanelByElement function expects an array as argument, but a single element is given in this case, so the error occurs.
The text was updated successfully, but these errors were encountered: