Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sibling layout change doesn't trigger other siblings onLayout. #20617

Closed
3 tasks done
cheng-kang opened this issue Aug 10, 2018 · 1 comment
Closed
3 tasks done

Sibling layout change doesn't trigger other siblings onLayout. #20617

cheng-kang opened this issue Aug 10, 2018 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@cheng-kang
Copy link

cheng-kang commented Aug 10, 2018

Environment

  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
      Memory: 182.39 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.4.0 - /usr/local/bin/node
      Yarn: 1.5.1 - /usr/local/bin/yarn
      npm: 6.1.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.3, macOS 10.13, tvOS 11.3, watchOS 4.3
    IDEs:
      Android Studio: 3.1 AI-173.4670197
      Xcode: 9.3/9Q117m - /usr/bin/xcodebuild
    npmPackages:
      @storybook/react: ^3.4.5 => 3.4.8
      react: ^16.3.2 => 16.4.1
      react-native: ^0.56.0 => 0.56.0
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1

Description

Sibling layout change doesn't trigger other siblings onLayout.

Reproducible Demo

https://codesandbox.io/s/k2r38p70jr

This is a react-native-web example. But I've tested it with react-native on iOS simulator, it has the same behaviour.

@cheng-kang
Copy link
Author

onLayout shouldn't bother this case.

@facebook facebook locked as resolved and limited conversation to collaborators Aug 10, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants