react / react/react-native

Image BlurRadius not working on gif on android and ios

Đang mở
#39,792 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Component: Image Issue: Author Provided Repro Needs: Triage :mag: Newer Patch Available Platform: Android Platform: iOS
Ngôn ngữ chính
C++
Star
127k
Fork
25.3k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện vấn đề với Snack được liên kết bằng cách sử dụng component Image, blurRadius={50} và nguồn test.gif trên Android và iOS. Bắt đầu bằng cách theo dõi cách xử lý blurRadius đối với các nguồn GIF trong Image; hoàn thành khi GIF được làm mờ nhất quán như một hình ảnh thông thường trên cả hai nền tảng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
react-native
Lĩnh vực
mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.