Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Justin Mclean
Hi, > Maybe I'm not understanding the scenario. I assumed that the problem > Justin is trying to fix is that you roll over a component, the component > shows a tooltip, but the tooltip appears under the mouse so you get a > rollout of the component and rollover the tooltip. The rollout of the >

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Alex Harui
Hi Piotr, Maybe I'm not understanding the scenario. I assumed that the problem Justin is trying to fix is that you roll over a component, the component shows a tooltip, but the tooltip appears under the mouse so you get a rollout of the component and rollover the tooltip. The rollout of the

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Harbs
pointer-events:none; Definitely the right way to go. > On Jul 11, 2017, at 6:01 PM, piotrz wrote: > > Alex, > > What do you mean by Mouse "transparent" ? We still need to use some event > mouse (enter/leave) where after roll over on the element tooltip should be >

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Harbs
To be clear: That css should be applied to the ToolTip element. > On Jul 11, 2017, at 6:54 PM, Harbs wrote: > > pointer-events:none; > > Definitely the right way to go. > >> On Jul 11, 2017, at 6:01 PM, piotrz wrote: >> >> Alex, >> >> What

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Harbs
That should have been MOUSE_ENTER rather than MOUSE_OVER. > On Jul 11, 2017, at 6:58 PM, Harbs wrote: > > It’s been supported by every browser since 2014. I think we should switch to > that. > > I was pondering whether we should standardize on ROLL_OVER or MOUSE_OVER. I

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Harbs
It’s been supported by every browser since 2014. I think we should switch to that. I was pondering whether we should standardize on ROLL_OVER or MOUSE_OVER. I was thinking that we could have both. > On Jul 11, 2017, at 6:14 PM, Alex Harui wrote: > > At one point in

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread piotrz
Alex, What do you mean by Mouse "transparent" ? We still need to use some event mouse (enter/leave) where after roll over on the element tooltip should be shown. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Alex Harui
At one point in time, mouseenter was only supported by IE. If we agree it is safe to use on all of our target browsers, we can switch to using it. I don't think it will solve the flicker problem. I think the tooltips need to be "mouse transparent". My 2 cents, -Alex On 7/11/17, 4:32 AM,

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Harbs
My point with tooltip is that you probably don’t need bubbling for tooltips and it causes more events than are needed. There’s use cases for both mouseover and mouseenter. Resolving Justin’s issues using mouseenter would require a couple of things: 1, We would need mouseeenter (and mouseleave)

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread piotrz
Ahh..Yes. Maybe let's live it as is. Maybe if you will use in your app tooltips more extensively we will see. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Harbs
mouseover is needed if you need bubbling. That’s sometimes the correct behavior. > On Jul 11, 2017, at 1:19 PM, piotrz wrote: > > It seems to. MouseOver is launching really often - Maybe Enter/Leave would be > really better. > Need test to see whether we have same

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread piotrz
It seems to. MouseOver is launching really often - Maybe Enter/Leave would be really better. Need test to see whether we have same behavior having Enter/Leave as we have with MouseOver currently. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread Harbs
Here is an example of what happens using rollOver and rollOut in Flash.[1] It seems like the same as enter/leave in HTML. [1]http://www.zedia.net/2008/difference-between-mouseeventroll_over-and-mouseeventmouse_over-in-as3/

Re: [FlexJS]MouseEvent.ROLL_OVER (was Re: [2/5] git commit...)

2017-07-11 Thread piotrz
Harbs, I have found following examples [1][2][3]. Maybe it will help us. [1] https://siongui.github.io/2012/08/07/javascript-compare-mouseenter-mouseleave-mouseover-mouseout/ [2] https://siongui.github.io/code/javascript-mouseenter-mouseleave/mouseenterleave.html [3]