Kris-B / nanoGALLERY

image gallery simplified - jQuery plugin. Touch enabled, responsive, justified/cascading/grid layout and it supports pulling in Flickr, Google Photos and self hosted images.
https://nanogallery2.nanostudio.org/
438 stars 101 forks source link

Slide Animation in Mozilla/Firefox starts misplaced #35

Closed sjentzsch closed 10 years ago

sjentzsch commented 10 years ago

Hi Developers!

First, thanks a lot for your effort, this really is a nice photo gallery.

Unfortunately, in Mozilla/Firefox (in Chrome everything runs correctly), when I initiate the slide animation going forward/backward, the slide animation starts at a misplaced position, i.e. a bit to the right and then slides away to the left when going forward. Somehow the image seems to be misplaced.

Do you already know this issue? Can you estimate what the error might cause? And: Is it fixable soon? :)

Thanks a lot!

Best regards Sören Jentzsch

Kris-B commented 10 years ago

Hi Sören! I'm aware of this behavior... It seems to be a Firefox and Firefox mobile only issue. The only solution I could found for the moment is not to use 'left' for the animation but 'translateX' instead. But then we'll lose some browser support.

I'll see if I can find a better solution. Kris

Kris-B commented 10 years ago

Hi Sören! I've just released v5.0.2 with a new image swipe animation. You can activate is with imageTransition='swipe' But this feature is beta...

Kris-B commented 10 years ago

Fixed in v5.1.0 with the new default animation

sjentzsch commented 10 years ago

Thanks a lot Kris-B! I just asked AlexRed (Ozio Gallery) to include the newest version soon, looking forward to have these changes on my website.

AlexRed commented 10 years ago

yes, we are working on it now :)