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

Sets focus to textarea #37

Open
chriscfox opened this issue Jan 19, 2017 · 2 comments
Open

Sets focus to textarea #37

chriscfox opened this issue Jan 19, 2017 · 2 comments

Comments

@chriscfox
Copy link

When I run autogrow it seems to change the focus to the textarea, causing my page to immediately scroll down.

How can I prevent that?

@ultimatedelman
Copy link
Owner

That's weird. It shouldn't. There's no focus set in the code. Maybe you're setting the focus elsewhere?

@chriscfox
Copy link
Author

After some fiddling, I worked out that the problem occurs only when I set { onInitialize: true } . If I don't do that it is fine. No other changes to my code, so I don't think it is happening anywhere else.

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

No branches or pull requests

2 participants