You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a fresh app (npx react-native init test --template react-native-template-typescript) I Followed the installation and basic usage instructions using all the default values for configuration. After selecting a sticker/text from the GiphyDialog and presenting it in a GiphyMediaView, it isn't rendering the alpha of stickers/text correctly, resulting in a checkerboard pattern behind the content. As of now I'm only able to verify this behaviour on android. Note that using a FastImage to present the content results in the correct behaviour.
To Reproduce
Select a sticker or text from a GiphyDialog and set it to a state variable, as per the documentation
The background of stickers/text would be correctly rendered as transparent without the checkerboard pattern.
Actual Behavior
The background of stickers/text is a checkerboard pattern with no transparency.
Your Environment
Giphy React Native SDK version: 1.3.0
React Native version: 0.66.4
Platform(s) (iOS, Android, or both?): Android
Device info (Simulator/Device? OS version? Debug/Release?): Android simulator and real device, both debug and release variants on Android 12 (API 31)
Reproducible Demo
Create a new project with npx react-native init test --template react-native-template-typescript and yarn add @giphy/react-native-sdk as a dependency. Then simply use the code block listed under "basic usage" of the GiphyMediaView in the documentation. Note that I've also tried explicitly setting the "showCheckeredBackground" config to false on android, but this does not affect it.
The text was updated successfully, but these errors were encountered:
We recently released Giphy RN SDK v1.4.0 with the showCheckeredBackground property. This property will allow enabling/disabling the checkered background in GiphyMediaView.
🐛 Bug Report
On a fresh app (
npx react-native init test --template react-native-template-typescript
) I Followed the installation and basic usage instructions using all the default values for configuration. After selecting a sticker/text from the GiphyDialog and presenting it in a GiphyMediaView, it isn't rendering the alpha of stickers/text correctly, resulting in a checkerboard pattern behind the content. As of now I'm only able to verify this behaviour on android. Note that using a FastImage to present the content results in the correct behaviour.To Reproduce
Expected behavior
The background of stickers/text would be correctly rendered as transparent without the checkerboard pattern.
Actual Behavior
The background of stickers/text is a checkerboard pattern with no transparency.
Your Environment
Reproducible Demo
Create a new project with
npx react-native init test --template react-native-template-typescript
andyarn add @giphy/react-native-sdk
as a dependency. Then simply use the code block listed under "basic usage" of the GiphyMediaView in the documentation. Note that I've also tried explicitly setting the "showCheckeredBackground" config to false on android, but this does not affect it.The text was updated successfully, but these errors were encountered: