Skip to content

iOS — Open Drawer Animation Bug (v2.0.0) 🐛 #212

Description

@designbymind

When opening a drawer with toggleLeftWindow() or via pan gesture cancel (line 1059), the animation does not begin (or complete) until the drawer has finished opening (1.0/100%). See attached screencast) 📽️ (using ANIMATION_SLIDE).

Note(s):
· Tested with left drawer only
· Animation methods which do not require the centerWindow to 'pull' the drawer window (ex. ANIMATION_FADE or ANIMATION_NONE) seem to work fine
· Seems to affect opening of the drawer only (closing works as expected)
· Maybe CATransform3DMakeTranslation?

Side Note:
· The thin black vertical line shown in the screencast can be fixed by removing this line or possibly by setting [self.view setBackgroundColor:[UIColor blackColor]]; to [self.view setBackgroundColor:[UIColor clearColor]];
— Most prominent when using ANIMATION_SLIDE & a light theme (background color) on leftDrawer and centerWindow

Environment:
· dk.napp.drawer: 2.0.0
· TiSDK: 7.1.0.v20180108165029 (app relies on: https://jira.appcelerator.org/browse/TIMOB-24404)
· Alloy: 1.10.7
· Hyperloop: 3.0.1
· iOS: 10.3 & 11.2
· Device(s): iPhone 6s (10.3.3) & iPhone X (11.2.2)
· Simulator: iPhone X (11.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions