You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and you will have unexpected 'is-animating' pages.
As a result, if you keep turning the pages 'forward', the left page will stay the same.
My goal was to init the book and open it at a given page. I guess, It could be done directly by adding an option to Heidelberg and update the code around line 80-88. But I am not sure it's a wanted behavior.
Thanks for the bug report @benjaminlong. I like your solution. Adding an initialActivePage parameter to the options block seems like a sensible idea to me. Feel free to submit a PR for this!
First of all, thank you for your awesome work !
I discovered a tiny bug.
If you programmatically turning a page right after init like this:
Page 5 is active, but
webkitTransitionEnd oTransitionEnd msTransitionEnd transitionend
events wont be triggered - See file heidelberg.js line 207and you will have unexpected 'is-animating' pages.
As a result, if you keep turning the pages 'forward', the left page will stay the same.
My goal was to init the book and open it at a given page. I guess, It could be done directly by adding an option to Heidelberg and update the code around line 80-88. But I am not sure it's a wanted behavior.
I was hoping to come with a pull request to fix this, but I don't have it yet. I was hoping to have some feedbacks and advices from you.
All the best !
The text was updated successfully, but these errors were encountered: