{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/18347","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/18347/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/18347/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/18347/events","html_url":"https://github.com/facebook/react-native/issues/18347","id":304628631,"node_id":"MDU6SXNzdWUzMDQ2Mjg2MzE=","number":18347,"title":"onScroll animation with useNativeDriver on iOS doesn't work after re-render","user":{"login":"dgreensp","id":155814,"node_id":"MDQ6VXNlcjE1NTgxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/155814?v=4","gravatar_id":"","url":"https://api.github.com/users/dgreensp","html_url":"https://github.com/dgreensp","followers_url":"https://api.github.com/users/dgreensp/followers","following_url":"https://api.github.com/users/dgreensp/following{/other_user}","gists_url":"https://api.github.com/users/dgreensp/gists{/gist_id}","starred_url":"https://api.github.com/users/dgreensp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgreensp/subscriptions","organizations_url":"https://api.github.com/users/dgreensp/orgs","repos_url":"https://api.github.com/users/dgreensp/repos","events_url":"https://api.github.com/users/dgreensp/events{/privacy}","received_events_url":"https://api.github.com/users/dgreensp/received_events","type":"User","site_admin":false},"labels":[{"id":337217254,"node_id":"MDU6TGFiZWwzMzcyMTcyNTQ=","url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ffffff","default":false},{"id":718241807,"node_id":"MDU6TGFiZWw3MTgyNDE4MDc=","url":"https://api.github.com/repos/facebook/react-native/labels/Stale","name":"Stale","color":"e99695","default":false},{"id":257497884,"node_id":"MDU6TGFiZWwyNTc0OTc4ODQ=","url":"https://api.github.com/repos/facebook/react-native/labels/%F0%9F%94%B7iOS","name":"🔷iOS","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-03-13T05:00:11Z","updated_at":"2018-11-18T02:52:35Z","closed_at":null,"author_association":"NONE","body":"Repro: https://snack.expo.io/SkkqUA4KG\r\nPossibly same as: #12543\r\n\r\nThe conditions to reproduce seem to be:\r\n* You have a ScrollView and are using an Animated.event onScroll\r\n* You are on iOS with useNativeDriver: true\r\n* A parent of a Animated.View that uses the animated contentOffset value re-renders (in this case, resulting in the child being unmounted and mounted again)\r\n\r\nExpected result is that the Animated.View always animates based on the Animated.Value which is linked to the scroll position.\r\n\r\nActual result is that the scroll-linked animation works initially, but after the component that uses the animated value is destroyed and recreated, it doesn't work.  This only happens with the native driver.  It also doesn't happen if the same animated value is used continuously elsewhere (see comment in repro), so that could be a potential clue and workaround.\r\n\r\n### Environment\r\n\r\n```\r\nEnvironment:\r\n  OS: macOS High Sierra 10.13.3\r\n  Node: 9.6.1\r\n  Yarn: 1.5.1\r\n  npm: 5.6.0\r\n  Watchman: Not Found\r\n  Xcode: Xcode 9.1 Build version 9B55\r\n  Android Studio: Not Found\r\n\r\nPackages: (wanted => installed)\r\n  react: 16.2.0 => 16.2.0\r\n  react-native: https://github.com/expo/react-native/archive/sdk-25.0.0.tar.gz => 0.52.0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/439663609","html_url":"https://github.com/facebook/react-native/issues/18347#issuecomment-439663609","issue_url":"https://api.github.com/repos/facebook/react-native/issues/18347","id":439663609,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY2MzYwOQ==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-18T02:52:35Z","updated_at":"2018-11-18T02:52:35Z","author_association":"NONE","body":"Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.\n"}}
{"actor":{"display_login":"stale"}}