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

replace scrollHeight with .prop('scrollHeight') #15

Closed
wants to merge 1 commit into from

Conversation

axelerator
Copy link

scrollHeight is undefined for initial call. 'onInitialize': true has no effect (at least in chrome, with JQuery v1.8.1)

scrollHeight is undefined for initial call. 'onInitialize': true has no effect
@ayyash
Copy link

ayyash commented May 14, 2014

actually it should be box.prop("scrollHeight}), because "this" belongs to the HTML element in case user is typing, but it refers to the jQuery element on initialize

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

3 participants