ts1 / flipbook-vue

3D page flip effect for Vue.js
https://ts1.github.io/flipbook-vue/
614 stars 158 forks source link

Switching pages fast with arrow keys messes up the images #91

Closed Pajicc closed 1 year ago

Pajicc commented 1 year ago

If I switch pages too fast using arrow keys, it messes up the images, they get mixed up. Is there a way we can disable arrow key events, or disable them while the images are loading or while the page is transitioning?

ts1 commented 1 year ago

I think flipbook-vue itself does not handle keyboard events. If you copied key event handler from demo, just remove it.

Pajicc commented 1 year ago

You're right. But I've found out I had some other component that interfered with keyboard events which I copied from the demo example. Events in the demo actually work ok. I'll close this issue, thanks.