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

-webkit-appearance is not supported by theme-ui sx property #58

Open
joshball opened this issue Sep 1, 2020 · 0 comments
Open

-webkit-appearance is not supported by theme-ui sx property #58

joshball opened this issue Sep 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@joshball
Copy link

joshball commented Sep 1, 2020

The code in feed-search.js (the reference to -webkit-appearance):

       <Box sx={{ flexGrow: 1 }}>
          <input
            type="search"
            aria-label="search"
            sx={{
              '-webkit-appearance': 'textfield',
              width: ['100%'],
              ...

Is causing theme-ui to throw an error:

Using kebab-case for css properties in objects is not supported. Did you mean WebkitAppearance?

Should that be pulled out to a local style? Global style? Not sure the best approach here.

@ganevdev ganevdev added the bug Something isn't working label Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants