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

"loop:true;" causes document to jump to top on restart #11

Open
simplenotezy opened this issue Jan 2, 2014 · 1 comment
Open

"loop:true;" causes document to jump to top on restart #11

simplenotezy opened this issue Jan 2, 2014 · 1 comment

Comments

@simplenotezy
Copy link

Loop:true will cause the document to jump to top, which makes it unuseable on a one-pager website.

Could be cool, if you could look into it when you have the time free from Twitter and Typeahead.js! 👍

@cosmopolit
Copy link

Caused by the event trigger:

!silent && this.$input.trigger("ghostwriter:" + eventType).focus();

If you not need the element focused, you can solve the issue with this line

!silent && this.$input.trigger("ghostwriter:" + eventType);

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