{"action":"created","issue":{"url":"https://api.github.com/repos/archriss/react-native-snap-carousel/issues/238","repository_url":"https://api.github.com/repos/archriss/react-native-snap-carousel","labels_url":"https://api.github.com/repos/archriss/react-native-snap-carousel/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/archriss/react-native-snap-carousel/issues/238/comments","events_url":"https://api.github.com/repos/archriss/react-native-snap-carousel/issues/238/events","html_url":"https://github.com/archriss/react-native-snap-carousel/issues/238","id":284981620,"node_id":"MDU6SXNzdWUyODQ5ODE2MjA=","number":238,"title":"Carousel blank when changing tab for the first time. Will appear after first scroll.","user":{"login":"afirulaf","id":5363044,"node_id":"MDQ6VXNlcjUzNjMwNDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5363044?v=4","gravatar_id":"","url":"https://api.github.com/users/afirulaf","html_url":"https://github.com/afirulaf","followers_url":"https://api.github.com/users/afirulaf/followers","following_url":"https://api.github.com/users/afirulaf/following{/other_user}","gists_url":"https://api.github.com/users/afirulaf/gists{/gist_id}","starred_url":"https://api.github.com/users/afirulaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afirulaf/subscriptions","organizations_url":"https://api.github.com/users/afirulaf/orgs","repos_url":"https://api.github.com/users/afirulaf/repos","events_url":"https://api.github.com/users/afirulaf/events{/privacy}","received_events_url":"https://api.github.com/users/afirulaf/received_events","type":"User","site_admin":false},"labels":[{"id":737992878,"node_id":"MDU6TGFiZWw3Mzc5OTI4Nzg=","url":"https://api.github.com/repos/archriss/react-native-snap-carousel/labels/react-native%20bug","name":"react-native bug","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-12-28T20:05:44Z","updated_at":"2018-11-26T23:04:25Z","closed_at":"2018-01-22T15:25:09Z","author_association":"NONE","body":"<!--\r\n  MAKE SURE TO READ AND FOLLOW THIS TEMPLATE CLOSELY OR YOUR ISSUE WILL BE CLOSED WITHOUT NOTICE\r\n-->\r\n\r\n### Is this a bug report or a feature request?\r\n\r\nBug report\r\n\r\n<!--\r\n  If you answered \"Bug report\":\r\n\r\n    We expect that it will take you about 30 minutes to produce a high-quality bug report.\r\n    While this may seem like a lot, putting care into issues helps us fix them faster.\r\n    For bug reports, it is REQUIRED to fill the rest of this template, or the issue will be closed.\r\n\r\n  If you answered \"Feature request\":\r\n\r\n    Make sure to describe as precisely as possible the feature you'd like to see implemented. When relevant, provide visual examples (screenshots, screencasts, diagrams...).\r\n    You can ignore the next steps as long as you've made sure that your description is as clear, thorough and illustrated as possible.\r\n-->\r\n\r\n### Have you read [the guidelines](https://github.com/archriss/react-native-snap-carousel/blob/master/CONTRIBUTING.md) regarding bug report?\r\n\r\nYes\r\n\r\n### Have you read [the documentation](https://github.com/archriss/react-native-snap-carousel/blob/master/README.md) in its entirety?\r\n\r\nYes\r\n\r\n### Have you made sure that your issue hasn't already been reported/solved?\r\n\r\nYes\r\n\r\n### Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?\r\n\r\niOS\r\n\r\n### Is the bug reproductible in a production environment (not a debug one)?\r\n\r\nYes\r\n\r\n<!--\r\n  If you haven't been able to reproduce the bug in production mode, it probably has to do with React Native's limitations (see [\"Known issues\"](https://github.com/archriss/react-native-snap-carousel/#known-issues)). Chances are we won't be able to do anything about it.\r\n-->\r\n\r\n### Have you been able to reproduce the bug in [the provided example](https://github.com/archriss/react-native-snap-carousel/tree/master/example)?\r\n\r\nYes\r\n\r\n<!--\r\n  If you haven't been able to reproduce the issue in the example, chances are that your code is to blame.\r\n  Take the time to import your code in it bit by bit until you figure out what's wrong.\r\n  If you're positive that it has to do with the plugin rather than with React Native or your own code, then you may continue filling out this template and post an issue.\r\n-->\r\n\r\n### Environment\r\n\r\n<!--\r\n  Provide information about your current environment. At the very least, it should include the following:\r\n\r\n  Environment:\r\n    React: 16.0.0\r\n    React native: \"https://github.com/expo/react-native/archive/sdk-24.0.0.tar.gz\"\r\n    react-native-snap-carousel: 3.4.0\r\n\r\n  Target Platform:\r\n    Android (6.0)\r\n    iOS (10.3)\r\n-->\r\n\r\nExpo: 24\r\nReact: 16.0.0\r\nReact Native: 0.51\r\nreact-native-snap-carousel: 3.4.0\r\nreact-navigation: 1.0.0-beta.21\r\n\r\n### Steps to Reproduce\r\n\r\n<!--\r\n  How would you describe your issue to someone who doesn’t know you or your project?\r\n  Try to write a sequence of steps that anybody can repeat to see the issue.\r\n  Be specific! If the bug cannot be reproduced, your issue may be closed.\r\n-->\r\n\r\n1. Open project.\r\n2. Change to tab containing the carousel.\r\n3. Carousel is blank.\r\n4. Try to scroll. Carousel will appear back like normal.\r\n\r\n### Expected Behavior\r\n\r\n<!--\r\n  How did you expect your project to behave?\r\n  It’s fine if you’re not sure your understanding is correct.\r\n  Just write down what you thought would happen.\r\n-->\r\n\r\nCarousel appear normally.\r\n\r\n### Actual Behavior\r\n\r\n<!--\r\n  Did something go wrong?\r\n  Is something broken, or not behaving as you expected?\r\n  Describe this section in detail, and attach screencasts (or screenshots) if possible.\r\n  Don't just say \"it doesn't work\"!\r\n-->\r\n\r\nSo I have multiple carousel on multiple tab. I use react-navigation tabnavigator. On my first screen I have two carousel, and on my second screen I have another carousel. When I run my app, the carousel on the first screen works as expected. But when I change tab to my second screen, the carousel is there, but its blank. I can see it occupying the space for its height but nothing appear there. But when I scroll the page, or I scroll horizontally the area where I expect my carousel to be, it appear. I tested it on newly created snack, the same thing occur. Check my example snack below. This only happen in iOS, on Android its working fine.\r\n\r\n### Reproducible Demo\r\n\r\n<!--\r\n  Please share a project that reproduces the issue.\r\n  There are two ways to do it:\r\n\r\n    * Create a new app using https://snack.expo.io/ and try to reproduce the issue in it.\r\n      This is useful if you roughly know where the problem is, or can’t share the real code.\r\n\r\n    * Or, copy your app and remove things until you’re left with the minimal reproducible demo.\r\n      This is useful for finding the root cause. You may then optionally create a Snack.\r\n\r\n  This is a good guide to creating bug demos: https://stackoverflow.com/help/mcve\r\n  Once you’re done, copy and paste the link to the Snack or a public GitHub repository below:\r\n-->\r\nOpen this snack on iOS, or use expo snack emulator. After load, change tab. \r\nhttps://snack.expo.io/@afirulaf/carousel-snap-bug\r\n\r\n<!--\r\n  What happens if you skip this step?\r\n\r\n  Someone will read your bug report, and maybe will be able to help you,\r\n  but it’s unlikely that it will get much attention from the team. Eventually,\r\n  the issue will likely get closed in favor of issues that have reproducible demos.\r\n\r\n  Please remember that:\r\n\r\n    * Issues without reproducible demos have a very low priority.\r\n    * The person fixing the bug would have to do that anyway. Please be respectful of their time.\r\n    * You might figure out the issues yourself as you work on extracting it.\r\n\r\n  Thanks for helping us help you!\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/archriss/react-native-snap-carousel/issues/comments/441834352","html_url":"https://github.com/archriss/react-native-snap-carousel/issues/238#issuecomment-441834352","issue_url":"https://api.github.com/repos/archriss/react-native-snap-carousel/issues/238","id":441834352,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTgzNDM1Mg==","user":{"login":"jwietelmann","id":550889,"node_id":"MDQ6VXNlcjU1MDg4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/550889?v=4","gravatar_id":"","url":"https://api.github.com/users/jwietelmann","html_url":"https://github.com/jwietelmann","followers_url":"https://api.github.com/users/jwietelmann/followers","following_url":"https://api.github.com/users/jwietelmann/following{/other_user}","gists_url":"https://api.github.com/users/jwietelmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jwietelmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwietelmann/subscriptions","organizations_url":"https://api.github.com/users/jwietelmann/orgs","repos_url":"https://api.github.com/users/jwietelmann/repos","events_url":"https://api.github.com/users/jwietelmann/events{/privacy}","received_events_url":"https://api.github.com/users/jwietelmann/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T23:04:25Z","updated_at":"2018-11-26T23:04:25Z","author_association":"NONE","body":"Trying `removeClippedSubviews={false}` as an alternative fix."}}
{"actor":{"display_login":"jwietelmann"}}