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

[V5] Add a way to polyfill gap property, used in library code #1785

Closed
7iomka opened this issue Jul 13, 2022 · 2 comments
Closed

[V5] Add a way to polyfill gap property, used in library code #1785

7iomka opened this issue Jul 13, 2022 · 2 comments

Comments

@7iomka
Copy link
Contributor

7iomka commented Jul 13, 2022

What package has an issue

@mantine/core

Describe the bug

In my code with css-in-js approach, if I want to use some risky props like gap with flex elements, I use workaround like this one
With css I use flex-gap-polyfill package as postcss plugin.
I very like your ui-library, but this is very strange to drop users who uses iPhone 11 with the iOS 13.x.

It is possible to add similar workaround like from the example above, or to add a way to pass a function-wrapper (for example in MantineProvider, which be used in similar way under the hood?

Any other ideas?)

In which browser did the problem occur

All

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

No response

Are you willing to participate in fixing this issue and create a pull request with the fix

No response

Possible fix

No response

@7iomka 7iomka added the bug label Jul 13, 2022
@rtivital
Copy link
Member

Flexbox gap support is good enough for me, I do not think that I can provide any polyfills on my side, you should look for stylis plugins if you need to support old browsers.

@7iomka
Copy link
Contributor Author

7iomka commented Jul 18, 2022

Can someone help me to create a plugin for this purpose?
thysultan/stylis#295

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