Hi Peter,

yes this seems to be a bug. I don't think you're doing something wrong.

As a workarraound you could use animation based on qx.bom.element.Animation:

http://tinyurl.com/znwl9zs

Regards
Dietrich

Am 01.02.2016 um 10:44 schrieb Peter Schneider:
> Hi there,
>
> whenever fadeOut() and fadeIn() are issued on "text-input" elements, it seems
> that no more input focus handling is done on that element.
>
> However if the fading is done on the button e.g. the click still works
>
> Here's a simple playground example to demonstrate this:
>
> ------------------------------------------------------------------------
> Short-URL: http://tinyurl.com/hukglgt
> ------------------------------------------------------------------------
> var help1 = new qx.ui.basic.Label(
>     "Once the input is faded-out and -in again<br/>" +
>     "the input can not get focus again!").set({ rich: true });
>
> var button1 = new qx.ui.form.Button("fade");
> var input1 = new qx.ui.form.TextField();
>
> button1.addListener("execute", function ()
> {
>     input1.fadeOut().addListener("end", function () {
>       input1.fadeIn();
>     });
> });
>
> var doc = this.getRoot();
> doc.add(button1, {left: 20, top: 20});
> doc.add(input1 , {left: 20, top: 60});
> doc.add(help1  , {left: 140, top: 20});
> ------------------------------------------------------------------------
>
>
> I think this is a bug. Or am I doin' it wrong
>     fadeOut -> listener("end") -> fadeIn
>
> Regards,
>     Peter
>


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to