Skip to content

Absolutely positioned container does not shrink to fit children if a child contains flex-direction of row #21955

Closed

Description

@bananatranada

Or if their child contains width: '100%'.

Dunno if I'm in that niche territory, but this has taken me a very long time to spot the source of the problem. I hope this can be fixed so that the next person doesn't have to.

Comment out either flexDirection: row or width under headerContent.
https://snack.expo.io/S1Pdpkgh7

And here's the expected behavior:
https://codepen.io/BANANATRANADA/pen/jeXoLj

Activity

  1. react-native-bot commented on Oct 26, 2018

    @react-native-bot
    Collaborator

    We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

    Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

    If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

  2. locked as resolved and limited conversation to collaborators on Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions