Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Contributor
tr00don
Posts: 24
Registered: 04-20-2011
Accepted Solution

No vertical scrollbar in textarea?

A vertical scrollbar is not shown in the textarea tag when the text overflows its vertical size. Is this by design? I tried using both "overflow-y: scroll;" and "overflow-y: auto;" in the .css, to no avail. This is only an issue in the Playbook browser, not in FF. What gives? Thanks.

Please use plain text.
Trusted Contributor
SumiGhosh
Posts: 181
Registered: 09-20-2011
My Carrier: Developer

Re: No vertical scrollbar in textarea?

Exactly........ similar problem happened for me too. So i used webkit scroll(using i'm able to reproduce scoll to view) for that, but my case is to scroll a page and not for textarea. 

 

Please follow the link for more 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/code-to-set-a-vertical-scroll-ba...

Please use plain text.
Contributor
tr00don
Posts: 24
Registered: 04-20-2011

Re: No vertical scrollbar in textarea?

Thanks, this works for me. One thing to keep in mind though, as tneal mentioned elsewhere, is that the content of the app screen should be no larger than the device screen size. In my experience, achieving this can be tricky unless you use absolute positions for each HTML item (position: absolute; in the .css).

Please use plain text.