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
When using: :class="{ disabled: !flipbook.canFlipLeft }"
navigational arrows are in fact disabled when you reach the first/last page which is good. but they also get the disabled state during the page transitions, which looks strange and even annoying. I think that another computed boolean value like pageInTransition would solve the issue.
The text was updated successfully, but these errors were encountered:
I will consider adding pageInTransition.
Since flipLeft only works if canFlipLeft is actually true, it's not a good thing to change the behavior of canFlipLeft.
I avoid the navigational arrow blink by checking the flipbook's page number instead of canFlipLeft. :class="{ disabled: flipbook.page === 1 }"
Similarly, the flip right button can check the flipbook's page against the page count. :class="{ disabled: flipbook.page === flipbook.numPages }"
When using:
:class="{ disabled: !flipbook.canFlipLeft }"
navigational arrows are in fact disabled when you reach the first/last page which is good. but they also get the disabled state during the page transitions, which looks strange and even annoying. I think that another computed boolean value like
pageInTransition
would solve the issue.The text was updated successfully, but these errors were encountered: