Titanium JIRA Archive
Appcelerator Community (AC)

[AC-576] iOS - ScrollableView - Child buttons are not firing events on 5.1.2.GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2016-01-24T06:46:09.000+0000
Affected Version/sAppcelerator Studio 4.4.0
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
Labelsbutton, event, scrollableview
ReporterRodolfo Perottoni
AssigneeSharif AbuDarda
Created2016-01-21T16:51:26.000+0000
Updated2016-09-08T04:11:01.000+0000

Description

After updating the SDK to 5.1.2.GA, every

Comments

  1. Sergey Dmitriev 2016-01-21

    Try to use zIndex on button and/or scrollableview. Also, probably some elements of layout overlaps thus blocking the button, maybe coloring of layout is your friend here. =)
  2. Rodolfo Perottoni 2016-01-21

    Please close the issue. Seems like it's working on a newly created project.
  3. Roger Sperberg 2016-02-04

    I had a similar problem yesterday and today with a
  4. Rodolfo Perottoni 2016-02-04

    It is indeed a random problem. Sometimes it occur, sometimes it doesn't. On new projects it works fine, but if you increase the complexity of the views inside your ScrollableView you'll eventually reach a point where all the children components of the ScrollableView will stop throwing events.
  5. Manuel Conde Vendrell 2016-02-05

    OMG, that's what is happening to me in SDK 4.1.1 with scrollable for a photo gallery and a "imageview" to show an X to close the gallery. Sometimes "onclick" is working, sometimes not. I also tried coloring but nothing unusual. It 's really strange.
  6. Johan Meyer 2016-06-19

    Hi, I had the same problem and nothing worked but I did figure out how to reproduce this problem every time. The click event does not fire when running the application in Liveview. Once I run it normally without Liveview the button fires as normal. Kind Regards
  7. Ben Scofield 2016-09-08

    This bug is still a problem. Using TI SDK 5.2.2GA I have created a new project, used zindex, disabled liveview and nothing remedies the issue. Any SDK past 4.1.1 has image views, views, and labels that do not fire the click event if inside a view on a ScrollableView.
  8. Rodolfo Perottoni 2016-09-08

    @Ben Scofield this bug was solved on 5.3.0.GA as far as i remember. I'm using 5.4.0.GA and the ScrollableView works just fine.
  9. Ben Scofield 2016-09-08

    Thank, Rodolfo. I've tried 5.3.0 and still seeing the issue. The only thing I've yet to do is move to iOS 9.x and try with 5.4.0 GA. I also just realized that this ticket was labeled alloy and I'm not using alloy on this project. I'd hate to think that was the issue.

JSON Source