Skip to content

Default of contentInsetAdjustmentBehavior is incorrect #16971

Closed
@JasperH8g

Description

@JasperH8g

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

ReactNative 0.50 (which is the only relevant part in this case)

Steps to Reproduce

  1. Go to the ReactNative-docs of ScrollView, in particular the section about contentInsetAdjustmentBehavior
  2. Go to the UIKit-docs of contentInsetAdjustmenBehaviour
  3. Compare the default value of never for ReactNative and automatic for UIKit.

Expected Behavior

Since this is an iOS specific option of ScrollView, I'd expect that we would follow the default setting that UIKit has.

Actual Behavior

  • The default value of contentInsetAdjustmentBehavior is never for ReactNative
  • The default value of contentInsetAdjustmentBehavior is automatic for UIKit

Reproducible Demo

Not relevant in this case.

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