Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
Offo
Posts: 27
Registered: ‎05-07-2012
My Device: PlayBook and Bold 9900
My Carrier: Wind

TextArea in ScrollView Issue

I can push data to my TextArea but I can't scroll. When I put the TextArea in a ScrollView then nothing works.

Please use plain text.
Developer
soaman
Posts: 848
Registered: ‎03-03-2011
My Device: Z10

Re: TextArea in ScrollView Issue

Did you use page-scrollview-container-textearea pattern?

 

Page 
{
    ScrollView 
    {
        Container 
        {
            TextArea
            {
            }
        }
    }
}

 

--------------------------------------------------------------------------------------
Leader of Ljubljana BlackBerry Developer Group
BlackBerry Certified Builder for Native Application Development
Please use plain text.
Contributor
Offo
Posts: 27
Registered: ‎05-07-2012
My Device: PlayBook and Bold 9900
My Carrier: Wind

Re: TextArea in ScrollView Issue

Yes, this is the same patter I'm using. I can see the data to display on the console usaing qDebug(), nothing gets to the TextArea when ScrollView in included. I need the scroll the displayed data
Please use plain text.
Developer
dkonigs
Posts: 241
Registered: ‎07-25-2008
My Device: Bold 9900

Re: TextArea in ScrollView Issue

I think this is a bug in the latest Cascades beta.  I've experienced it as well.  If you touch anything in a ListView that isn't a TextArea, scrolling works just fine.  But the TextArea seems to swallow the touch events.

 

One workaround idea might be to wrap the TextArea in a container, as suggested above, and then set that container's touch propagation policy so the touch events never get passed through to the Text Area.  Of course I'd also suggest writing up a bug report on this.

 

FYI, here's another thread mentioning the same issue:

http://supportforums.blackberry.com/t5/Cascades-Development/Re-Cascades-multi-line-Label-with-text-w...

Please use plain text.
Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: TextArea in ScrollView Issue

I got the same issue with scrollable TextArea. Sometimes(really rare) when area is not editable it scrolls semi-fine.

My thread
http://supportforums.blackberry.com/t5/Cascades-Development/Problem-with-scrollable-TextArea/m-p/185...
Please use plain text.
Contributor
apascual
Posts: 26
Registered: ‎07-23-2012
My Device: bb10 dev alpha
My Carrier: movistar

Re: TextArea in ScrollView Issue

I have the same error, the TextArea is not scrollable. I suppose is a bug, patience

Please use plain text.
Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: TextArea in ScrollView Issue

[ Edited ]

I gonna create new issue at jira

 

Please vote here https://www.blackberry.com/jira/browse/BBTEN-169

Please use plain text.
BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: TextArea in ScrollView Issue

...made the issue public.  If you tried voting and couldn't access it, try again.

 

Stuart

Please use plain text.