mtabini / AFKPageFlipper

A simple 3-D page flip transition for iOS devices
Other
408 stars 86 forks source link

Quick page flipping issues #4

Open ivasic opened 13 years ago

ivasic commented 13 years ago

There's a problem when you try to flip pages real quick, you end up with either no animations or split pages with different content. I was able to reproduce this on iPad 3G (1st gen) running 4.3.2 and on the simulator 4.3 with XCode 4.0.2. It seems easier to reproduce on the simulator. Just try to flip pages really quickly with swiping. Somewhere in the middle it'll start to behave incorrectly.

See the result: http://f.cl.ly/items/2Y3c003M2B0l1u3h2Q0t/IMG_0010.PNG

isaru66 commented 13 years ago

I am facing the same problem as ivasic.

isaru66 commented 13 years ago

I think we would disable the swipe gesture during swiping to prevent the a weird result.

skizzato commented 13 years ago

Hi, I have found the same issue when you try to flip to a new page really quickly (especially in a short swipe range). Someone has figured out how solve or bypass this in some way? Thanks.

@isaru66 The issue about swiping when the flip animation is running is different from this, you can solve it by implementing a boolean set ON during animation and check this boolean value after flip request by user in order to allow the flip to a new page or not.

dawsontoth commented 13 years ago

Check out this pull request for a possible fix. Works for me: https://github.com/mtabini/AFKPageFlipper/pull/5

isaru66 commented 13 years ago

Thank you very much.

dawsontoth commented 13 years ago

@skizzato and @ivasic: With my fix merged in to the master branch, can you still reproduce the problem you were seeing? I know I fixed the issue I was seeing (swiping really quickly resulting in broken rendering), but I want to make sure you're taken care of too.

skizzato commented 13 years ago

Hi dawsontoth, really thanks to share with us your code! Unfortunately I still have the problem about the Flip View totally disappeared after a really fast swipe gesture, it looks like the Flip doesn't have the time to render the pages. I don't really know how to fix this issue.

isaru66 commented 13 years ago

there is someone fix this also check at >> https://github.com/raweng/FlipView

skizzato commented 13 years ago

Thanks really really much isaru, I solved my problem with that. Cheers

isaru66 commented 13 years ago

@skizzato , I am not the owner of the https://github.com/raweng/FlipView , so you should thank @Reefaq Cheers too.

shakir1311 commented 12 years ago