Hi John,

after putting together an example on playground, I noticed that TextArea also 
does not work there which made me wonder why it works in my case. The reason is:

                               _onKeyPress: function (e) {
                                               e.stopPropagation();
                               },

After adding this to TextField, this works fine in my list now, too.

The ScrollArea in the form.List seems to catch the events for the cursor keys 
for moving the pane.

Thank you for your quick reponse.

Friendly regards
Markus



Von: John Spackman [mailto:john.spack...@zenesis.com]
Gesendet: Donnerstag, 3. März 2016 19:25
An: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
Betreff: Re: [qooxdoo-devel] Cursor-Events left/right in Textfield, added 
indirectly to a form.List

Hi Markus

Do you mean that you’ve added things other than a ListItem to a list and they 
don’t work as expected, or that you have added ListItems which have child 
widgets that are TextField etc?

I looked at this once and AFAICR there is very little that List requires from 
ListItem – the check that a ListItem is added is almost arbitrary, and what 
requirements it does have could be easily abstracted such that List could 
contain any widget which implemented a tiny interface.

But it could be tricker to get widgets inside a list item to receive keyboard 
events – please can you put together a playground example?

Regards
John


From: Markus Donhauser <m.donhau...@bg-gbr.de<mailto:m.donhau...@bg-gbr.de>>
Reply-To: qooxdoo Development 
<qooxdoo-devel@lists.sourceforge.net<mailto:qooxdoo-devel@lists.sourceforge.net>>
Date: Thursday, 3 March 2016 at 17:48
To: 
"qooxdoo-devel@lists.sourceforge.net<mailto:qooxdoo-devel@lists.sourceforge.net>"
 
<qooxdoo-devel@lists.sourceforge.net<mailto:qooxdoo-devel@lists.sourceforge.net>>
Subject: [qooxdoo-devel] Cursor-Events left/right in Textfield, added 
indirectly to a form.List

Hello,

is it possible to add other types of widgets aside from ListItem to a form.List?

I disabled the finding of items in the list and the items get added, but in 
case of a textfield/number/datefield/… input
the cursor keys have no effect, while in a textarea the cursor keys work. In a 
class which is based on the textfield,
I receive key events with identifiers Left/Right, the keys just do not move the 
cursor. If the textfield is added to a composite, everything is fine.

Can anybody tell me where form.List blocks the cursor key events?

With friendly regards
Markus Donhauser

------------------------------------------------------------------------------ 
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=272487151&iu=/4140_______________________________________________
 qooxdoo-devel mailing list 
qooxdoo-devel@lists.sourceforge.net<mailto:qooxdoo-devel@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
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=272487151&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to