Re: List Item renderer Click event finds a component in its way

2018-07-03 Thread Carlos Rovira
> since > > right > > now, since for me the actual solution is a hack that must be > converted > > to > > something more final. > > > > Thanks > > > > > > > > 2018-07-02 16:38 GMT+02:00 Yisha

Re: List Item renderer Click event finds a component in its way

2018-07-03 Thread Alex Harui
eUp() in > Basic. It > > uses currentTarget. > > > > > > > > > > > > > > > > > > From: carlos.rov...@gmail.com on

Re: List Item renderer Click event finds a component in its way

2018-07-03 Thread Carlos Rovira
>> >> Hope you or other could point me to a more elegant solution since >> right >> now, since for me the actual solution is a hack that must be >> converted to >> something more final. >> >> Thanks >> >> >> >> 2018-07-02 16:38 GM

Re: List Item renderer Click event finds a component in its way

2018-07-03 Thread Carlos Rovira
> > > Take a look at ItemRendererMouseController.handleMouseUp() in > Basic. It > > uses currentTarget. > > > > > > > > > > > > > > > > > > From: carlos

Re: List Item renderer Click event finds a component in its way

2018-07-03 Thread Carlos Rovira
behalf of > Carlos Rovira > Sent: Tuesday, July 3, 2018 12:44:17 AM > To: dev@royale.apache.org > Subject: Re: List Item renderer Click event finds a component in its way > > Hi Yishay, > > thanks for let me know about it. I'm playing with it but I didn't get to > work. >

RE: List Item renderer Click event finds a component in its way

2018-07-02 Thread Yishay Weiss
: Tuesday, July 3, 2018 12:44:17 AM To: dev@royale.apache.org Subject: Re: List Item renderer Click event finds a component in its way Hi Yishay, thanks for let me know about it. I'm playing with it but I didn't get to work. The case is that maybe List component is not ready for this yet

Re: List Item renderer Click event finds a component in its way

2018-07-02 Thread Alex Harui
; > > > > > > > > From: carlos.rov...@gmail.com on behalf of > Carlos Rovira > Sent: Monday, July 2, 2018 5:27:08 PM > To: dev@royale.apache.org > Subject: List Item renderer C

Re: List Item renderer Click event finds a component in its way

2018-07-02 Thread Piotr Zarzycki
ItemRendererMouseController.handleMouseUp() in Basic. It > > uses currentTarget. > > > > > > > > > > > > > > > > > > From: carlos.rov...@gmail.com on behalf of > > Carlos Rovira > > Sent: Monday, Ju

Re: List Item renderer Click event finds a component in its way

2018-07-02 Thread Carlos Rovira
oyale.apache.org > Subject: List Item renderer Click event finds a component in its way > > Hi, > > what's the best way to handle a click event in a List when the Item > renderer has some components that can interfere in the click event? > > I have an icon and a Label in the it

Re: List Item renderer Click event finds a component in its way

2018-07-02 Thread Carlos Rovira
Hi Piotr, I just tried to disable both components but components are still intercepting the click and calling the function so the error is generated. But I think although this could work, not seems to me like a final solution, since I don't think users should need to disable components in an item

RE: List Item renderer Click event finds a component in its way

2018-07-02 Thread Yishay Weiss
Take a look at ItemRendererMouseController.handleMouseUp() in Basic. It uses currentTarget. From: carlos.rov...@gmail.com on behalf of Carlos Rovira Sent: Monday, July 2, 2018 5:27:08 PM To: dev@royale.apache.org Subject: List Item renderer Click event

Re: List Item renderer Click event finds a component in its way

2018-07-02 Thread Piotr Zarzycki
Hi Carlos, What has happened if children (in that case your icon and Label), are disabled ? Thanks, Piotr pon., 2 lip 2018 o 16:27 Carlos Rovira napisaƂ(a): > Hi, > > what's the best way to handle a click event in a List when the Item > renderer has some components that can interfere in the

List Item renderer Click event finds a component in its way

2018-07-02 Thread Carlos Rovira
Hi, what's the best way to handle a click event in a List when the Item renderer has some components that can interfere in the click event? I have an icon and a Label in the item renderer and if I click on one of those "event.target" is logically set to this components. How to make