+I tested the extension for a couple of days and made some [bug reports](https://github.com/creativecommons/ccsearch-browser-extension/issues?q=is%3Aissue+is%3Aclosed) on Github. Most of them were pretty easy to fix but the one I struggled with was [this](https://github.com/creativecommons/ccsearch-browser-extension/issues/3) one. After some discussion on slack, [Breno](https://creativecommons.org/author/brenoferreira/) and [Dhruv](https://github.com/dhruvkb) suggested using the [Masonry grid](https://masonry.desandro.com/) for the thumbnails (I was previously using the standard float grid of 3 columns). I made the transition but observed some flickering in the images on firefox when a new batch loaded on scrolling. It was working fine on chrome though. I spent a whole day looking for alternatives or doing some silly fix by using a bunch of timeouts. Again, Breno and Druv came to the rescue and suggested that some animations may be causing this. But even after a few hours of hit and trial and removing and fixing animations, I couldn't fix it only because I was looking in the wrong place. By changing the `transitionDuration` option of masonry to `0` did the trick. In fact, it was the first thing I should have tried. I should maybe take breaks more often to clear my mind :p
0 commit comments