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

starting scroll from within a form element #7

Open
chrisdrackett opened this issue May 14, 2010 · 5 comments
Open

starting scroll from within a form element #7

chrisdrackett opened this issue May 14, 2010 · 5 comments

Comments

@chrisdrackett
Copy link

If you start scrolling with your finger within a form element (a textarea for example) it'll scroll both the entire viewport and the element set for touchscroll.

@davidaurelio
Copy link
Owner

Not sure if I can fix that … iPhone seems to have special treatment for form elements.

@chrisdrackett
Copy link
Author

Was just playing with gmail and noticed that you can scroll from their form elements without issue. Not sure if it's something that can be adapted for touchscroll, but I thought I would note it here.

@davidaurelio
Copy link
Owner

That’s very interesting. I’ll take a look at GMail. Maybe they have a nice solution that I can adopt.

@chrisdrackett
Copy link
Author

was playing with sencha touch today and noticed they've solved this issue as well:

http://www.sencha.com/deploy/touch/examples/kitchensink/

go to User Interface > Forms

@cpojer
Copy link

cpojer commented Jul 14, 2010

The only way I was able to fix this is by overlaying an invisible element over the form element. I'm removing this element on touchend if touchmove has not been fired on the overlay. I'm readding it onblur. This works great. The only problem now is when the item is focussed and the user starts to scroll it falls back to the buggy behavior.

Does anyone have any better suggestions?

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

No branches or pull requests

3 participants