google-code-export / fancybox

Automatically exported from code.google.com/p/fancybox
1 stars 0 forks source link

keyboard arrows trigger weird behavior in galleries #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a picture gallery and add the "rel" tag
2. fire up the fancybox gallery
3. navigate the gallery using the keyboard arrows

What is the expected output? What do you see instead?
we expect to navigate either previous/next image
the gallery shows weird behavior and more than one image transition occurs
for each key stroke 

What version of the product are you using? On what operating system?
Fancybox 1.2.2

Please provide any additional information below.
The arrow keys keep active and can fire up fancybox after closing it
Issue detected out of the box, new installation and/or using the css file
from version 1.2.1

Original issue reported on code.google.com by jfk.d...@gmail.com on 30 Oct 2009 at 4:32

GoogleCodeExporter commented 9 years ago
Is this problem with v.1.2.3 too? Any demo? Because example at
http://fancybox.net/example works fine for me.

Original comment by janis.sk...@gmail.com on 30 Oct 2009 at 10:07

GoogleCodeExporter commented 9 years ago
with v 1.2.3 weird behavior is gone and you can navigate the gallery normally 
with
arrow keys but after closing you are still able to fire up fancybox again with 
the
arrow keys.

In fact, if you do so, images won't close clicking on the overlay and I don't 
think
this behavior is expected.

You can reproduce this behavior with your examples at your site too.

Original comment by jfk.d...@gmail.com on 30 Oct 2009 at 10:55

GoogleCodeExporter commented 9 years ago
Thanks for noticing.

Original comment by janis.sk...@gmail.com on 30 Oct 2009 at 11:31

GoogleCodeExporter commented 9 years ago

Original comment by janis.sk...@gmail.com on 30 Oct 2009 at 11:31

GoogleCodeExporter commented 9 years ago
i ve implemented this, and you will have to commented //e.prventdefault();, 
which is inside the left arrow 

Original comment by gera.ka...@gmail.com on 27 Aug 2010 at 6:35