-
Notifications
You must be signed in to change notification settings - Fork 304
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
[ANDROID] Getting white flash on background while qr code is being generated #68
Comments
Same issue here |
1 similar comment
Same issue here |
Only in Andriod |
same issue. Any new update for this? |
same issue here |
Same issue |
I had the same issue, fixed it with a little 'hack'. |
@AGFarhat it works. Thanks! |
I had similar issue. Component was packed in Scrollview and on generating qr code, whole screen flckered. Solution was packing qrcode in another scrollview inside parent |
Thanks to @AGFarhat. It works ! |
@AGFarhat @sertony @mroozspace @Jobel91 |
@todorone , it works on Android real device, React Native version : 0.57.1 |
Yea i got that randomly one day... its weird. |
How do you show the ActivityIndicator while the QR is generated? |
For me, when the QR code is rendered it makes invisible any TextInputs. Using Expo API version 32. I was able to take the sample code on the README of this project and replicate the issue on two android devices as the sample code includes a TextInput. It's a bit intermittent, sometimes they show and you can click on them and enter text even though you can see them and then sometimes they show after entering text. Putting the QRCode inside a ScrollView with overflow hidden solved the problem for me so thanks for those who offered that solution to the flicker. I'd raise a specific issue but as the same solution fixed the problem for me, I suspect this might be the same bug. |
@AGFarhat it's work for me, many thanks |
@AGFarhat it's work, thank much |
same issue and it's work,very thanks |
@AGFarhat It Worked, Thanks :) |
Ignore ActivityIndicator, I just made sure that flash isn't related to animation
My modal that is storing component which is storing qr code:
`const Modal = (props: Props) => (
{props.children}
)
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'yellow', //rgba(0,21,43,0.75)
alignItems: 'center',
justifyContent: 'center',
padding: 24,
} as ViewStyle,
wrapper: {
backgroundColor: 'white',
padding: 16,
paddingTop: 32,
alignItems: 'center',
justifyContent: 'center',
alignSelf: 'stretch',
borderTopRightRadius: 24,
borderBottomLeftRadius: 24,
} as ViewStyle,
})
export default Modal`
And Im using react-navigation modal to show this on screen
only problem occurs on android emulator, ios is fine
The text was updated successfully, but these errors were encountered: