Skip to content

What's the difference between Layout Props' overflow and Image Style Props' overflow? #56340

@ddx533534

Description

@ddx533534

Question

In the React Native documentation, the prop - overflow appears in two places:

  1. Layout Props – applies to all components, controls how children are displayed
    outside the component's bounds. Values: visible | hidden | scroll

  2. Image Style Propsoverflow is listed again specifically for <Image>.

So what does overflow in Image Style Props actually do that's different from
the one in Layout Props? Are they the same property exposed twice, or do they
serve different purposes?

RN Version: 0.84

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions