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 little CSS issue with required input attribute #46

Merged
merged 1 commit into from
Feb 19, 2014
Merged

Fix little CSS issue with required input attribute #46

merged 1 commit into from
Feb 19, 2014

Conversation

Aharito
Copy link
Contributor

@Aharito Aharito commented Jan 20, 2014

You use .css({'position':'absolute','left':'-9999px'}) to original button hiding. But, when the "required" attribute is set for this input, and user forgot to pick the file, browser show alarm on the leftmost window edge due to -9999.

Better way to avoid this - using .css({'position':'absolute','clip':'rect(0,0,0,0)'})
#45

markusslima added a commit that referenced this pull request Feb 19, 2014
Fix little CSS issue with required input attribute
@markusslima markusslima merged commit b460290 into markusslima:master Feb 19, 2014
@markusslima
Copy link
Owner

thanks for the contribution

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.

None yet

2 participants