thomaspark/glyphsearch

Icons not clickable in Chrome on first load

pagelab opened this issue · 7 comments

You probably have to clear the cache to see this.

video2

I've already spotted that behavior while rendering the whole page using JavaScript. Didn't manage to debug it however :/ Any chance some of you guys are JS-event masters understanding where the click event is triggered?

Yes I also spotted it, this seems to be an issue because of ZeroClipboard but not exactly sure.

Strangely, this never happens on localhost...

Yes I also spotted it, this seems to be an issue because of ZeroClipboard but not exactly sure.
this block:

https://github.com/thomaspark/glyphsearch/blob/gh-pages/js/index.js#L141-L162
is never called in Chrome in scenario as described above.
Edited:
I can repeat this in every browser on my machine - or with developer tools disabling cache - for project home page.

Upgrading ZeroClipboard from 1.2.3 to 2.2.0 (8c5acd6) seems to have fixed it. Can you guys confirm?

@thomaspark Yes, I cannot repeat problem use dev tools/disabled cache (at least on development machine at work)

@thomaspark Working fine now, thanks!