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

not supported in linux #190

Closed
UndeadMe opened this issue Sep 1, 2024 · 4 comments
Closed

not supported in linux #190

UndeadMe opened this issue Sep 1, 2024 · 4 comments
Assignees

Comments

@UndeadMe
Copy link

UndeadMe commented Sep 1, 2024

hello dear.
i am so glad someone created this special package for react and i was using this and when i switch into linux i realized its not working though

@wopian
Copy link
Owner

wopian commented Sep 1, 2024

Can you add more details on this? Operating systems shouldn't have any impact on the functionality of this library - only browser support.

You can check current browser support here: https://developer.mozilla.org/en-US/docs/Web/API/CSS_Painting_API

@UndeadMe
Copy link
Author

UndeadMe commented Sep 3, 2024

yup u r right !
actually its better to say its not working in the firefox
do u know any other way for implementing this feature in firefox? in fact i want to show the interface in all the browsers same

@wopian
Copy link
Owner

wopian commented Sep 5, 2024

The best way to replicate it in Firefox that would be cross-browser is to use a hand-crafter clip-path that masks out the area desired - but this would need to be done for each aspect ratio you need (e.g 1x1 icon, 16x9 thumbnail).

This site will generate a superellipse SVG path for use with CSS clip-path: https://superellipse.xxhax.com/

@UndeadMe
Copy link
Author

UndeadMe commented Sep 6, 2024

thanks a lot

@UndeadMe UndeadMe closed this as completed Sep 6, 2024
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

2 participants