Skip to content

iOS Slide page transition causes "snap" behaviour #3775

@josempbrites

Description

@josempbrites

Hi guys,

Tell us about the problem

Since the latest update I'm having an issue when I set actionBar navigationBar.translucent = false; and remove the border. Is was working fine before, but now the page navigation and transitions are making a strange snap animation, as if, when the view loads it starts behind the actionbar.

Any ideas on what's going on? Can you test this?

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 2.5.2
  • Cross-platform modules: 2.5.1
  • Runtime(s): iOS 2.5.0

Please tell us how to recreate the issue in as much detail as possible.

Adding the code bellow to a pageLoad event. It only happens when navigating to a details view for example.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

if (platform.isIOS) {
        var navigationBar = frameModule.topmost().ios.controller.navigationBar;
        navigationBar.barStyle = 1;
        navigationBar.translucent = false;
        navigationBar.setBackgroundImageForBarMetrics(UIImage.new(), UIBarMetrics.Default);
        navigationBar.shadowImage = UIImage.new();   
       }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions