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

Change overflow to scroll only if styleHeight is bigger then the actu… #361

Merged
merged 1 commit into from
May 1, 2018

Conversation

genadis
Copy link

@genadis genadis commented Apr 15, 2018

Change overflow to scroll only if styleHeight is bigger then the actualHeight instead of not equal to. Fixes: show scroll bar when not needed.
use case: min-height set to value bigger then height.

…alHeight instead of not equal to. Fix: show scroll bar when not needed: min-height set to value bigger then height.
@jackmoore
Copy link
Owner

This seems fine, but I'm not aware of a situation in which this change affects the outcome. In the situation of your use case, autosize sets a style height based on the computed size which accounts for min-height style / rows (i.e., the real size).

@jackmoore jackmoore merged commit 53a2e03 into jackmoore:master May 1, 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

Successfully merging this pull request may close these issues.

2 participants