You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
overflow:'clip' has relatively limited browser support compared to what we typically expect of web apps today at Meta.
It might make sense to keep the eslint warning if it can be suppressed inline, or if the value 'clip' can be allowed via eslint-plugin configuration. I don't think we want type checker errors in this case though.
Describe the issue
When I set the property
![CleanShot 2024-06-28 at 08 21 48](https://private-user-images.githubusercontent.com/23715191/343969460-f8653596-240d-4f7c-87c1-8b37fcba1c5f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3NTAzMjYsIm5iZiI6MTcyMTc1MDAyNiwicGF0aCI6Ii8yMzcxNTE5MS8zNDM5Njk0NjAtZjg2NTM1OTYtMjQwZC00ZjdjLTg3YzEtOGIzN2ZjYmExYzVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDE1NTM0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMwNzc2OWE4Nzc2M2I0YTM2NzdlYWJlYmJjYTkyYmM1Y2FlOTczNzI5ZmJjYjdiMjFlZTlhNjQ4YjljZGEwYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BIOjrZb7drW2nxRl_aYLYuLTtBcQ3shHnAjygg7qyK8)
{overflow: 'clip'}
to an element, I receive an eslint error, but the style is valid and works as expected.It also creates Typescript errors as I pass the styles around to different elements
Expected behavior
No eslint error would be displayed by @stylexjs/valid-styles plugin
Steps to reproduce
install stylex 0.6.1 and @stylexjs/valid-styles plugin 0.6.1
create a dive element and set style to
{overflow: 'clip'}
Test case
No response
Additional comments
No response
The text was updated successfully, but these errors were encountered: