Skip to content

Circular crop area, without overflow #299

Discussion options

You must be logged in to vote

This was an issue with Safari 15 (Webkit). There is a bug where an outer container of position: absolute doesn’t apply a overflow: hidden with a border-radius: 50%.

No other browser engine seems to encounter that.

I fixed this by adding a secondary div inside the absolute positioned container and applying position: sticky plus the above mentioned styles — not great, but it fixed the issue.

Thanks for all the help ✌️

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@vincentritter
Comment options

@ValentinH
Comment options

@vincentritter
Comment options

@vincentritter
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by vincentritter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants