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

Set sizer overflow to hidden. #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Set sizer overflow to hidden. Hidden still allows the sizer property …
…to be acquired via the scrollWidth property, but it also compensates for a weird bug in FireFox.
mvf4z7 committed Nov 28, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit ac53b72f5341d78998810ec0284100e8b021df37
2 changes: 1 addition & 1 deletion src/AutosizeInput.js
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ const sizerStyle = {
left: 0,
visibility: 'hidden',
height: 0,
overflow: 'scroll',
overflow: 'hidden',
whiteSpace: 'pre',
};