-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Got wrong in v3.3.0, there is no "node" property in image object, is it bug? #478
Comments
@biati-digital Having the same issue here after updating to 3.3.0, It started throwing an error. However, It only happens when the slide has a description added to it. |
@biati-digital Looks like
To fix this issue, you can directly use the slide variable, which is already a reference to the slide element
|
I was having the same issue but with galleries created from code. Changing line 1091 like this fixed it:
It looks for |
Have official version fixed this bug? |
@mahui-cn no there isn't an official fix right now. If the example fixes above work, I would recommend those for the time being. |
Describe the bug
I just upgrade to v3.3.0, It run into error when I click images in PC (not mobile) whereas it is normal in v3.2.0
I check the source code, it got wrong in this line :
const slideTriggerNode = this.elements[this.index].node;
I also debug this in Chrome, it is sure that there is no node property in the image object, is this a new bug?
the following is related piece of source code for your reference....
Are you able to reproduce the bug in the demo site
Yes|No.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Post the code you are using
Help me solve issues faster, if I can copy paste your code I can try to reproduce and fix the bug faster.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop:
Smartphone:
The text was updated successfully, but these errors were encountered: