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

TextInput: number arrows appear in Firefox even with reset #900

Closed
ericorruption opened this issue Apr 16, 2018 · 2 comments
Closed

TextInput: number arrows appear in Firefox even with reset #900

ericorruption opened this issue Apr 16, 2018 · 2 comments

Comments

@ericorruption
Copy link

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
The generated css for appearance and -moz-appearance when the TextInput keyboard is set to number are not behaving well. appearance overrides the vendor prefix, re-applying the native spinner buttons.

If the current behavior is a bug, please provide the steps to reproduce and
if a minimal demo of the problem vi6.a Glitch or similar (template:
https://glitch.com/edit/#!/react-native-web-playground).

  1. Observable in the current Storybook version on the TextInput / keyboardType demo when using Firefox

What is the expected behavior?
-moz-appearance should have a higher specificity / come after the appearance rule.

Environment (include versions). Did this work in previous versions?

  • OS: OSX (Latest)
  • Device: Macbook
  • Browser: Firefox Developer Edition (Latest)
  • React Native for Web (version): 0.5.4
  • React (version): 16.3.0-alpha.1
@ericorruption
Copy link
Author

ericorruption commented Apr 16, 2018

Would switching the declaration position around here solve the issue?

@necolas
Copy link
Owner

necolas commented Apr 16, 2018

Ok I'll take a look

necolas added a commit that referenced this issue May 18, 2018
necolas added a commit that referenced this issue May 18, 2018
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