Skip to content

SafeAreaView backward support(ios 9 & 10) #18255

Closed

Description

@sushantsaho

I am using SafeAreaView in my project, its working fine in ios 11, But in ios 10 the content going behind Status bar, How to make SafeAreaView backward compatibility.

Environment

OS: macOS High Sierra 10.13.1
Node: 9.4.0
Yarn: 1.3.2
npm: 4.6.1
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0

Expected Behavior

SafeAreaView Should start its content after status bar

Actual Behavior

The content going behind Status bar

Steps to Reproduce

(Link to Snack, or steps to reproduce.)

Activity

  1. vovkasm commented on Mar 8, 2018

    @vovkasm
    Contributor

    See #17638

  2. bkDJ commented on Mar 8, 2018

    @bkDJ

    It's still a problem in RN 0.54, but according to this, writing ios-only version-specific code is a reasonable workaround to SafeAreaView not always being safe.

  3. stale commented on Jun 27, 2018

    @stale

    Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

  4. added
    StaleThere has been a lack of activity on this issue and it may be closed soon.
    on Jun 27, 2018
  5. wcandillon commented on Jul 17, 2018

    @wcandillon
    Contributor

    The stale tag on this issue can be removed

  6. removed
    StaleThere has been a lack of activity on this issue and it may be closed soon.
    on Jul 17, 2018
  7. react-native-bot commented on Aug 1, 2018

    @react-native-bot
    Collaborator

    I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.

    If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

  8. locked as resolved and limited conversation to collaborators on Aug 1, 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

    Platform: iOSiOS applications.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