Skip to content

[Android] [0.38] Position bug when the content change #11096

@Kerumen

Description

@Kerumen

Description

I have a red flex container. At the bottom I have a dynamic content (green) and a Button used to update this content. If I click the button, the height of the green view change. The button should stay below the green content but instead it moves up. See images below.

Layout at start:
screenshot_20161123-185227

After I clicked on the button:
screenshot_20161123-185231

Reproduction

See this GitHub repository: https://github.com/Kerumen/BugLayoutRN

Solution

On iOS this works as it should. It's only on Android since 0.38.

Additional Information

  • React Native version: 0.38
  • Platform: Android
  • Operating System: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions