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

Scroll to window bottom when getting focus #135

Closed
svoop opened this issue Mar 10, 2013 · 6 comments
Closed

Scroll to window bottom when getting focus #135

svoop opened this issue Mar 10, 2013 · 6 comments
Assignees
Labels

Comments

@svoop
Copy link

svoop commented Mar 10, 2013

Hi

This is probably not a bug but a configuration issue, however, I haven't been able to find the solution by myself:

I use Selectboxit to replace a simple dropdown select with a custom version. Works like a charm on desktops, on iOS (tested with the iPad simulator), however, clicking on the selectboxitted element causes Safari to scroll to the bottom of the window and display the native select bubble there.

I suspect it has to do with what Selectboxit does with the original select element.

Any idea what's wrong here?

@gfranko
Copy link
Owner

gfranko commented Mar 10, 2013

Basically, selectBoxIt appends the original select box inside of the new drop down container element (.selectboxit-container) and then positions the original select box directly on top of the new drop down and sets an opacity of 0 to make sure only the new drop down is visible. Here is the code block doing this. Would you happen to have a public url I could look at to see what is happening on your page?

@svoop
Copy link
Author

svoop commented Mar 11, 2013

@gfranko Yes, but I'm not allowed to make it public. I'll send you the URL via email.

@gfranko
Copy link
Owner

gfranko commented Mar 19, 2013

When I tested your page with the iPad simulator, it looked as though SelectBoxIt was not getting called. When I called SelectBoxIt via the console, everything worked as expected. Are you still having issues?

@svoop
Copy link
Author

svoop commented Mar 19, 2013

Hi Greg

When I tested your page with the iPad simulator, it looked as though SelectBoxIt was not getting called. When I called SelectBoxIt via the console, everything worked as expected. Are you still having issues?

I had to disable it on iOS, but it's enabled again and the problem still persists. Just hit on the color button to the right and then choose an opacity.

@gfranko
Copy link
Owner

gfranko commented Mar 20, 2013

I just released SelectBoxIt v3.3.0, which should fix your issues. Let me know if you have any other problems!

@gfranko gfranko closed this as completed Mar 20, 2013
@ghost ghost assigned gfranko Mar 20, 2013
@svoop
Copy link
Author

svoop commented Mar 21, 2013

Great, works like a charm now. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants