react / react/react-native

Image BlurRadius not working on gif on android and ios

Open
#39,792 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Image Issue: Author Provided Repro Needs: Triage :mag: Newer Patch Available Platform: Android Platform: iOS
Dominant language
C++
Stars
127k
Forks
25.3k
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Description

The blur don't work on a gif but work with a classic img

React Native Version

0.72.4

Output of npx react-native info

info Fetching system and libraries information...
System:
OS: Linux 6.4 Pop!_OS 22.04 LTS
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
Memory: 1.67 GB / 15.36 GB
Shell:
version: 5.8.1
path: /usr/bin/zsh
Binaries:
Node:
version: 16.20.2
path: ~/.nvm/versions/node/v16.20.2/bin/node
Yarn: Not Found
npm:
version: 8.19.4
path: ~/.nvm/versions/node/v16.20.2/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java:
version: 1.8.0_382
path: /usr/bin/javac
Ruby:
version: 3.0.2
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.4
wanted: 0.72.4
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

info React Native v0.72.5 is now available (your project is running on v0.72.4).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.72.5
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.72.4
info For more info, check out "https://reactnative.dev/docs/upgrading?os=linux&platform=android".

Steps to reproduce

`import { Image } from "react-native";

export default TestComponent() {
return (<Image blurRadius={50}
resizeMode={"cover"}
style={{
width: "100%",
aspectRatio: 1,
objectFit: "contain",
}}
source={require('../../../assets/test.gif')}
/>)

}`

Snack, screenshot, or link to a repository

https://snack.expo.dev/@hforgame/blurradius-issue

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the linked Snack using the Image component, blurRadius={50}, and the test.gif source on Android and iOS. Start by tracing Image blurRadius handling for GIF sources; done means the GIF is blurred consistently with a classic image on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.