[AC-3091] Subsequent clicks on scroll/scrollable views not being fired?
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-10-20T12:25:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | clicks, eventlistener, firing, ios, iphone, not, register, scrollViews, scrollableView, sub, subsequent |
Reporter | Steven Verbeek |
Assignee | Paul Dowsett |
Created | 2011-09-04T12:25:25.000+0000 |
Updated | 2016-03-08T07:48:08.000+0000 |
Description
Hello,
I start off by creating a new Window and add a ScrollView to it then add a bunch of labels, buttons and image views to the ScrollView then add the ScrollView to the Window.
I assign two event listeners, one to an image view and one to a button. With a simple alert("clicked1"); alert("clicked2");
I run the application click on one of the two views/buttons with the eventlisteners attached and 70% of the time something happens. I close the alert dialog and click on another one and 70% of the time something happens. After clicking on each one once, I am no longer able to click on either of them.
Just a note: the button does change to a blue gradient when I clicked on it, even though no event is being fired.
Is there an issue that would make this happen? And is there a way to fix it? I tried using every single event type I can (everything from click to touchmove), same result. I tried it in a ScrollableView, same result.
On a regular window (not scrollview or scrollableview) this works as it should. It seems to be only scrollviews/scrollableviews that this occurs. However if I put these buttons/imageviews into a standard View and attach the event listener to that View it still does not work. It seems to be a problem with more then 2 clicks on a eventListener.
It turned out to be a lag issue when scrollviews where inside an eventListener inside an eventListener (that's two).