Skip to content

[iOS] Flat ActionBars, transition animations & ScrollView issue  #5870

Closed

Description

@manijak

Tell us about the problem

I define ActionBars with flat="true" to get the most correct color on the ActionBar. When navigating to Pages and using transitions animation, the layout becomes messed up. There is a big gap between the actionbar and the first element of the page. Removing flat or the transition animation removes the issue, but is not a solution.

Which platform(s) does your issue occur on?

iOS

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

  • CLI: 4.0.2
  • Cross-platform modules: 4.0.1
  • Runtime(s): 4.0.1

Activity

  1. self-assigned this
    on May 28, 2018
  2. tsonevn commented on May 28, 2018

    @tsonevn
    Contributor

    Duplicate of #5768

  3. manijak commented on Jun 26, 2018

    @manijak
    Author

    @tsonevn Ok? how are the two cases related? The issue is very much present in 4.1.2

  4. tsonevn commented on Jun 27, 2018

    @tsonevn
    Contributor

    HI @manijak,
    Excuse me. I misunderstood the problem, which you are facing. I tested further the issue with the latest NativeScirpt 4.1, however, was unable to recreate the problem. For your convenience, I am attaching the sample project and the screenshots from the simulator, which I used for testing. Can you review the project and check if I am missing something? It will help if you provide some more info about the case and the way it can be reproduced.
    screen shot 2018-06-27 at 9 38 19 am
    Archive.zip

  5. manijak commented on Jun 27, 2018

    @manijak
    Author

    No problem @tsonevn, should have provided you with a demo app from the start.
    The issue is more delicate, it is a combination of several things:

    • flat="true" on all ActionBars
    • onTap navigation has a animationTransition (e.g. Slide or Fade)
    • The first element of the page2 is a ScrollView

    Results in:
    flatdemo_issue

    Updated the demo app you provided with changes:
    Archive.zip

  6. changed the title [-][iOS] Flat ActionBar and transition animations cause layout issue [/-] [+][iOS] Flat ActionBars, transition animations & ScrollView issue [/+] on Jun 27, 2018
  7. MartoYankov commented on Feb 18, 2019

    @MartoYankov
    Contributor

    This issue is fixed in 5.2 with #6862

  8. ghost removed on Feb 18, 2019
  9. lock commented on Feb 18, 2020

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  10. locked and limited conversation to collaborators on Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions