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
Galleria.js Uncaught TypeError: Cannot read property 'left' of undefined on empty image list #1924
Comments
jlerbsc
changed the title
Galleria.js Uncaught TypeError: Cannot read property 'left' of undefined
Galleria.js Uncaught TypeError: Cannot read property 'left' of undefined on empty image list
Nov 25, 2016
mertsincan
added a commit
that referenced
this issue
Nov 25, 2016
Could you fix it in version 5.3 please? |
I can add it into 5.3.x version. (Next version -> 5.3.18) |
Ok Thanks. Can i download it through maven repository? |
Elite versions are not available via maven and you need to purchase elite access. |
Too fast :) Thomas 👍 |
Ok I will wait for the update 5.3.18 |
You can always apply the patch yourself |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IMPORTANT
1) Environment
2) Expected behavior
No javascript error in JS console.
3) Actual behavior
When a galleria component contains no image, there is a Uncaught TypeError: Cannot read property 'left' of undefined
at c.select (/javax.faces.resource/galleria/galleria.js?ln=primefaces&v=5.3:1:3826)
at c.next (/javax.faces.resource/galleria/galleria.js?ln=primefaces&v=5.3:1:4580) in the navigator console
..
4) Steps to reproduce
Use showcase
5) Sample XHTML
..
6) Sample bean
Replace images list to empty list
@ManagedBean
public class ImagesView {
}
..
The text was updated successfully, but these errors were encountered: