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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.getSize() return undefined #1233

Closed
WebWikom opened this issue Mar 7, 2017 · 3 comments
Closed

window.getSize() return undefined #1233

WebWikom opened this issue Mar 7, 2017 · 3 comments

Comments

@WebWikom
Copy link

WebWikom commented Mar 7, 2017

Hi,

I have an image grid on my website which work with Rokbooster ( On click, open a overlay with the image you clicked in a greater size)
I need to add isotope to filter the images however it seems that isotope is breaking Rokbooster.

I've been trying things with and without isotope enabled and it seems that window.getSize() return undefined when isotope is enabled and Rokbooster is using the window.getSize() values to create the overlay.

Is this intended ?

@desandro
Copy link
Member

desandro commented Mar 8, 2017

If your theme has MooTools, there may be a conflict. See desandro/get-size#1. Can you confirm if that's the issue?

@WebWikom
Copy link
Author

WebWikom commented Mar 8, 2017

Well it seems that it was the issue. However the Rokbooster plugin need Mootools to work, so i used @nicbell advice and now everything works fine ! Thanks for your quick response !

@desandro
Copy link
Member

desandro commented Mar 8, 2017

Thanks for following up 👍

@desandro desandro closed this as completed Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants