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

Page jumps down on load #10

Closed
jvwrx opened this issue Mar 30, 2010 · 1 comment
Closed

Page jumps down on load #10

jvwrx opened this issue Mar 30, 2010 · 1 comment

Comments

@jvwrx
Copy link

jvwrx commented Mar 30, 2010

When inputs are styled using stylish-select and the page is longer than the browser window, it jumps down the page, as if going to a named anchor. Happening in Win IE/FF/Chrome

It can be seen slightly on the demo page http://www.prismstudio.co.uk/plugins/stylish-select/0.4/ (reload page after initial load). (*edit--removed my example, but you can still see in demo page, especially in Win IE7 where focus dots appear around the second drop-down list)

@jvwrx
Copy link
Author

jvwrx commented Apr 1, 2010

If anybody in the future happens to find this, it's still a bug, but I fixed it in my case by removing the following (around line 230).

if ($newUl.is(':visible')){
$newLi.eq(currentIndex).focus();
}

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