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

Fix mobile Safari styling bug for hidden file input element #17

Merged
merged 1 commit into from
Nov 3, 2015

Conversation

timiyay
Copy link
Contributor

@timiyay timiyay commented Nov 3, 2015

Added max-width: 0 rule to default styles, to ensure the width of the hidden file input doesn't spill out, and cause a whitespace gutter.

This fix solves issue #16.

Added `max-width: 0` rule to default styles, to ensure the width
of the hidden file input doesn't spill out, and cause a whitespace
gutter.
@cowboyd
Copy link
Collaborator

cowboyd commented Nov 3, 2015

@Robdel12 @lydiaguarino qualms?

@timiyay
Copy link
Contributor Author

timiyay commented Nov 3, 2015

I haven't tested this overly-rigorously. I saw the problem on mobile Safari on iOS 9 and iOS8, but not on Android Chrome or Windows Phone IE.

I was testing mainstream mobile browsers, latest versions - 1.

@Robdel12
Copy link
Collaborator

Robdel12 commented Nov 3, 2015

@timiyay interesting. I'm assuming real devices? I can't reproduce on our example repo in iOS 9.1 (on device) or iOS 9 in the simulator.

I think we can accept this, looks like it'll solve an issue and won't have any negative impact that I can see. 👍

Robdel12 added a commit that referenced this pull request Nov 3, 2015
Fix mobile Safari styling bug for hidden file input element
@Robdel12 Robdel12 merged commit 8e702d9 into adopted-ember-addons:master Nov 3, 2015
@timiyay
Copy link
Contributor Author

timiyay commented Nov 3, 2015

@Robdel12 Thanks for the merge. Will definitely keep an eye out for any side effects this has. It might've been some interplay between the hidden file input, and some other part of our styling.

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

Successfully merging this pull request may close these issues.

3 participants