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

BorderRadius not working when image is repeated #972

Open
xerdnew opened this issue Feb 19, 2023 · 0 comments
Open

BorderRadius not working when image is repeated #972

xerdnew opened this issue Feb 19, 2023 · 0 comments

Comments

@xerdnew
Copy link

xerdnew commented Feb 19, 2023

When using the same image on a screen the borderRadius gets removed for some strange reason.

borderRadius WORKS here

<View>
    <FastImage
    style={{width:52,height:52,borderRadius:26}}
    source={{
        uri: 'https://uri-here',
        priority: FastImage.priority.normal,
        cache: FastImage.cacheControl.immutable
    }}
    />
</View>

borderRadius NOT WORKING anymore here

<View>
    <FastImage
    style={{width:52,height:52,borderRadius:26}}
    source={{
        uri: 'https://uri-here',
        priority: FastImage.priority.normal,
        cache: FastImage.cacheControl.immutable
    }}
    />
    <FastImage
    style={{width:52,height:52,borderRadius:26}}
    source={{
        uri: 'https://uri-here',
        priority: FastImage.priority.normal,
        cache: FastImage.cacheControl.immutable
    }}
    />
</View>

Is it a bug or am i doing something wrong?

Note: I tried placing a view around the image with overflow hidden but that does not work neither.

Edit: When scrolling the borderRadius flickers on and off. I tried placing the FastImage outside of the ScrollView though but still not working. Running on Android emulator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant