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

[Image][iOS and Android] Animated gifs are not working properly #8043

Closed
mdluo opened this issue Jun 10, 2016 · 3 comments
Closed

[Image][iOS and Android] Animated gifs are not working properly #8043

mdluo opened this issue Jun 10, 2016 · 3 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@mdluo
Copy link

mdluo commented Jun 10, 2016

react-native 0.24.1 and react 0.14.5

with gif source wrapped in (inline image) don't move on both iOS and Android

Live sample: https://rnplay.org/apps/89njTA

<View>
  <Text>
    Sample Text
    <Image    // <-- Stay still on both platform
      style={{width: 100, height: 100}} 
      source={{uri: 'http://www.clicktorelease.com/code/gif/1.gif'}} />    
  </Text>
  <Image    // <-- Animated gif on both platform
    style={{width: 100, height: 100}} 
    source={{uri: 'http://www.clicktorelease.com/code/gif/1.gif'}} /> 
</View>

react-native 0.27.0 and react 15.0.2

Then I upgraded rn to 0.27.0, and inline gif image works fine on iOS. However, gif images on Android of both wrapped in and don't even show up, just leaving a blank space of their size.

<View>
  <Text>
    Sample Text
    <Image    // <-- Animated gif on iOS but blank space on Android
      style={{width: 100, height: 100}} 
      source={{uri: 'http://www.clicktorelease.com/code/gif/1.gif'}} />    
  </Text>
  <Image    // <-- The same for this one
    style={{width: 100, height: 100}} 
    source={{uri: 'http://www.clicktorelease.com/code/gif/1.gif'}} /> 
</View>
@mdluo mdluo changed the title [Image][iOS and Android] Animated gifs not working properly [Image][iOS and Android] Animated gifs are not working properly Jun 10, 2016
@charpeni
Copy link
Contributor

See this #7760 (comment)

@charpeni
Copy link
Contributor

@facebook-github-bot duplicate #7760

@ghost
Copy link

ghost commented Jun 10, 2016

@charpeni tells me this issue is a duplicate of #7760. Let's discuss there, closing this one.

@ghost ghost closed this as completed Jun 10, 2016
@ghost ghost added the Ran Commands One of our bots successfully processed a command. label Jun 10, 2016
@facebook facebook locked as resolved and limited conversation to collaborators Jun 10, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants