laviastar / iscroll-js

Automatically exported from code.google.com/p/iscroll-js
MIT License
2 stars 2 forks source link

Trackball Issues #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use arrows or trackball instead of touchscreen on Android 2.1 and earlier

What is the expected output? What do you see instead?
I expect the fixed area to remain fixed and not scroll with the document. Your 
test case results in no ability to scroll via trackball (i.e. the scroll area 
has no focus). My own test case allows scrolling, but the fixed area doesn't 
stick.

What version of the product are you using? On what operating system?
iScroll 3.4 on Android SDK 2.1, 1.6

Please provide any additional information below.
My own simplified test is available at http://microalps.com/iscroll

Original issue reported on code.google.com by microa...@gmail.com on 22 Jun 2010 at 11:59

Attachments:

GoogleCodeExporter commented 9 years ago
I'll look into it. Don't know if it can be fixed, have to see what kind of 
events the trackball fires.

Original comment by mat...@gmail.com on 22 Jun 2010 at 12:58

GoogleCodeExporter commented 9 years ago
Not sure if same exact issue, but to catch the trackball events I added this to 
main class (the one that extends DroidGap) which nullifies the trackball for me 
(Nexus One Froyo Android 2.2)

@Override public boolean onTrackballEvent(MotionEvent event) {
           return true;
    }

Original comment by maxmedia...@gmail.com on 2 Sep 2010 at 1:29