This content has been marked as final. Show 4 replies
I figured out what is causing issue, but I am not able to fix it.
When I type the 1st letter of another textArea it autoScrolls to that textArea. How can I prevent this from happening?
add editable="true" to your List object
Ah okay. Thanks much for your help. This has put me on the right track but has created another set of issues. Perhaps you can point me in the right direction.
My data provider is actually an XMLList
and my ItemRenderer is a custom MXML component with a label that should NOT be editable and a textArea which should be.
When you click on the text area it not only displays the raw XML (as opposed to the data.text() that is bound to the textArea) it also automatically alters the XML. In fact if you just click back on forth on two item renderers without ever editing anything, it adds xml nodes and other garbage
My original node looked like this
<entry time="Wed Nov 5 15:00:23 GMT-0600 2008">b</entry>
(which should display just "b" in the textArea)
After clicking the item renderer it looks like this
<entry time="Wed Nov 5 15:00:23 GMT-0600 2008">
<label><entry time="Wed Nov 5 15:00:23 GMT-0600 2008">
<label>&lt;entry time="Wed Nov 5 15:00:23 GMT-0600 2008"&gt;
I wish I could just disable the auto scroll feature as I am already handling the updating of my dataProvider in a custom fashion (to allow undos)
I found a solution to my initial problem. Disabling key navigation in a list... wish I had found this link 72 hrs ago!