Closed t-soares closed 2 years ago
I'm experiencing the same issue in iOS/WkWebview. Waiting on this to be merged and new paper-drawer-panel release tagged. Thanks.
Why is this not being merged, #159 is a really serious bug imho...
@blasten Can you take a look on this?
cc keanulee@ or ffu@
— Emmanuel
On Thu, May 4, 2017 at 12:18 PM, TAS notifications@github.com wrote:
@blasten https://github.com/blasten Can you take a look on this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PolymerElements/paper-drawer-panel/pull/161#issuecomment-299282979, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWGNVk-Rpk-sCCk_yITduQASX_rqLtEks5r2iSKgaJpZM4LW4_P .
Fixes the issue #159.
Reproduce the issue:
The PR #158 changed the drawer opening and closing to be done inside a requestAnimationFrame. At the end of a swipe movement, the width is reset outside the rAF block, causing the opening/closing animation to be started from the initial position.
Solution: Reset the drawer width inside the rAF Block that open or closes the drawer. It also restores the transition on the start and stop of edge peek.
Run the fix: https://jsfiddle.net/rdjxmax4/4/ @rubenstolk @blasten