stylex
stylex copied to clipboard
Eslint plugin doesn't recognize vendor prefixed property `-webkit-backdrop-filter`
Describe the issue
WebkitBackdropFilter is not recognized by the eslint plugin.
Expected behavior
WebkitBackdropFilter should be supported just like the other vendor prefixed properties such as WebkitBackdropAppearance
Steps to reproduce
Using @stylexjs/[email protected].
Test case
import stylex from'stylex';
export styles = stylex.create({
root: {
WebkitBackdropFilter: 'blur(10px)',
}
});
Additional comments
No response
Supress the lint error for now. I'm working on enabling something on the lines of Autoprefixr so you won't have to use vendor-prefixed properties.
Oh yeah that would be a much better solution. I imagine preferablly you'd respect something like a browserlist to determine if a vendor prefix is required. Will close my PR.