touchstart event stops working after scroll

AZAdrion

New Member
I have attached a touchstart event to my fixed positioned footer in a web-appso the structure is like this:\[code\]<div id="content">i am a looong content.</div><div id="footer">i am tappable!</div>\[/code\]and the code like this:\[code\]$("#footer").on('touchstart', function(e) { alert("tapped"); });\[/code\]The problem is that when I scroll down the page to read the (long) content, the touchstart event for my footer just stops working! it does not get called anymore.Does anyone have any idea why this might be happening? Thanks in advance.
 
Top