tap and change page #5542

Closed
poonkave opened this Issue Jan 28, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@poonkave
Contributor

poonkave commented Jan 28, 2013

seeing similar issues reported.
like #3912

listening to 'tap' and from listener calling changePage to second page.
but this fires focus on second page.

Issue noticed with android 2.3

to replicate go to

http://johnchacko.net/samples/tap.html

click some of the items which trigger changePage and this set focus on input fields in new page.

'tap' event must not bubble upto next page...

@poonkave

This comment has been minimized.

Show comment Hide comment
@poonkave

poonkave Feb 8, 2013

Contributor

Ideally I must not use 'tap' here..

this article make more sense here
https://coderwall.com/p/bdxjzg

"The final thing to keep in mind, which can't really be solved in JavaScript, is a touch event triggered content shift. That is, if you shift content out from under the location of the touch event before the click event fires, the click event will fire on whatever is underneath it. If you get nothing else from this just remember, don't shift content on a touch event."

Contributor

poonkave commented Feb 8, 2013

Ideally I must not use 'tap' here..

this article make more sense here
https://coderwall.com/p/bdxjzg

"The final thing to keep in mind, which can't really be solved in JavaScript, is a touch event triggered content shift. That is, if you shift content out from under the location of the touch event before the click event fires, the click event will fire on whatever is underneath it. If you get nothing else from this just remember, don't shift content on a touch event."

@poonkave poonkave closed this Feb 22, 2013

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