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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 13
Registered: ‎12-17-2012
My Device: Simulator
My Carrier: Telenor
Accepted Solution

webview: cant scroll in long dropdowns/select

I added standard webview but are unable to scroll in long lists on dropdowns (html select). It just shows the top selections and im unable to scroll in the list to select something further down. 

 

Anyone else have webview with long select lists that have this issue, or NOT have this issue?

Contributor
Posts: 11
Registered: ‎08-27-2011
My Device: Blackberry Torch
My Carrier: Vodafone

Re: webview: cant scroll in long dropdowns/select

Hi,

 

    Try this

 

     ScrollView {

        Container {
            background: Color.create ("#f8f8f8")
            layout: StackLayout {
               orientation: LayoutOrientation.TopToBottom
            }
 
            WebView {
                 url: "https://www.google.com/"
            } // end WebView
 
        } // end container
    } // end Scrollview
 
 
 
Note: Mark ur post as solved, if this works
New Developer
Posts: 13
Registered: ‎12-17-2012
My Device: Simulator
My Carrier: Telenor

Re: webview: cant scroll in long dropdowns/select

Thank you,

 

Normal website scrolling works fine, i already have the webview in a scroll container. Its just the "popup" that happens on a dropdown that i cant scroll in.

Contributor
Posts: 11
Registered: ‎08-27-2011
My Device: Blackberry Torch
My Carrier: Vodafone

Re: webview: cant scroll in long dropdowns/select

Hi,

 

   Can you paste the code, so that i can have look at it.

 

Regards,

Sri...

Highlighted
New Developer
Posts: 13
Registered: ‎12-17-2012
My Device: Simulator
My Carrier: Telenor

Re: webview: cant scroll in long dropdowns/select

   Container {
        ScrollView {
            id: scrollView
            scrollViewProperties {
                scrollMode: ScrollMode.Both
            }
            layoutProperties: StackLayoutProperties { spaceQuota: 1.0 }
            WebView {
                id: webView
                objectName: "webView"
                url: tabbedPane.server + "/app/criteria"                
                onNavigationRequested: {
                    console.debug ("NavigationRequested: " + request.url + " navigationType=" + request.navigationType)                    
                }
                onMessageReceived: {
                    console.debug ("message.data: " + message.data)
                    _booking.AddBooking(message.data);
                }
            }
        }
    
    }

 

New Contributor
Posts: 2
Registered: ‎02-08-2013
My Device: Z10
My Carrier: RIM

Re: webview: cant scroll in long dropdowns/select

Dear Yoan,

 

Did you find any solution?

 

Could you please help us on same as we are also facing same issue.

 

Regards,

Amit

New Developer
Posts: 13
Registered: ‎12-17-2012
My Device: Simulator
My Carrier: Telenor

Re: webview: cant scroll in long dropdowns/select

the latest OS version fixed this! So update your dev device os and you should be ok!

New Contributor
Posts: 2
Registered: ‎02-08-2013
My Device: Z10
My Carrier: RIM

Re: webview: cant scroll in long dropdowns/select

Thanks Yoan for quick reply...We surely check with OS update...