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
Provide an option to disable props filtering #968
Comments
Hi @Chen-jj! |
Fixed in #970 |
@Anber Thanks for fixing it.However, we use |
Ok, I have an idea, but I need some time to implement it. |
Describe the enhancement
Provide an option to disable props filtering.
Motivation
Now, there is a filter for props:
https://github.com/callstack/linaria/blob/master/packages/react/src/styled.ts#L111-L120
But the conditions for checking whether an element is HTML tag or custom element are not satisfy with our cases.
We have some element with names like:
View
、Text
、Input
from WeChat MiniApp,and both of them have some special attributes like:hoverClass
.Once linaria filter these attributes, then it will not work correctly.Possible implementations
The text was updated successfully, but these errors were encountered: