-
Notifications
You must be signed in to change notification settings - Fork 806
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
Carousel: JavaScript in some gallery settings #6638
Comments
cc @thingalon; I'm hoping you might be able to help with this since you touched that code last month :) Thanks! |
I've checked the page link provided in this ticket and it seems that the issue is not related to The client is using the gallery shortcode and the Carousel, but its gallery is located in bottom right side. The issue is that there are some images wrapped in an cc @jeherve maybe we should check if the parent is an |
They used a gallery shortcode, but their outside container is indeed custom. That shouldn't stop them from using galleries though.
Yes, I think we should add an additional check for these edge cases. |
Noting that in 3165784-t the user said they still had the same bug even with 4.8.2, but I don't have further info from them because they've decided to turn off the Carousel module to solve their problem. Noting here regardless just in case it continues to crop up. |
In #6306, we made some changes to the way carousels are loaded. Unfortunately, in some situations it now creates the following JavaScript error:
Uncaught TypeError: Cannot read property 'split' of undefined
On line 451 of
modules/carousel/jetpack-carousel.js
You can reproduce the issue here. I unfortunately haven't been able to reproduce the issue on my end. It seems to happen in some cases in in-page galleries, sometimes in slideshows.
Reported here:
The text was updated successfully, but these errors were encountered: