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

Frame with border-radius & clip content not clipping content on web (css) #86

Open
softmarshmallow opened this issue Nov 25, 2021 · 0 comments

Comments

@softmarshmallow
Copy link
Member

softmarshmallow commented Nov 25, 2021

Origin
image

The generated code
Screen Shot 2021-11-25 at 6 44 54 PM

Explicit overflow:hidden by user
Screen Shot 2021-11-25 at 6 45 08 PM

Although, we CAN'T always set overflow: hidden for clip content layout. this is because overflow property is also used for specifying scroll behavior on other logic gate (not sure with the execution order or importance between those two.)

The non-conflicting way is to use explicit clip-path just to specify the clipping behavior, eliminating possibility of logic conflict with scroll

@softmarshmallow softmarshmallow changed the title Frame with border radius & clip content not clipping content on web (css) Frame with border-radius & clip content not clipping content on web (css) Nov 25, 2021
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