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

Ability to specify corner radii #1832

Closed
wbobeirne opened this issue Mar 1, 2022 · 4 comments · Fixed by #2116
Closed

Ability to specify corner radii #1832

wbobeirne opened this issue Mar 1, 2022 · 4 comments · Fixed by #2116

Comments

@wbobeirne
Copy link

Had another use case I'd like to see added, I have an element with top left and top right radii but not bottom left / right. It'd be cool if for radius, we could pass an object / array for individual radiuses, something like:

modalOverlayOpeningRadius: { topLeft: 8, topRight: 8, bottomLeft: 0, bottomRight: 0 }
@wbobeirne
Copy link
Author

Alternatively #1831 and this could be combined into an option that allows you to specify a custom path altogether for the most flexibility, if adding a bunch of new options is annoying.

@RobbieTheWagner
Copy link
Member

@wbobeirne there have been requests to set these things separately before. I would certainly be open to a PR if you would like to add this feature!

@wbobeirne
Copy link
Author

I'll scope out a PR, thanks for the blessing!

@simoneb
Copy link
Contributor

simoneb commented Oct 24, 2022

I've added support for this in #2116

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

Successfully merging a pull request may close this issue.

3 participants