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
New Developer
yoan
Posts: 13
Registered: ‎12-17-2012
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?

Please use plain text.
Contributor
Sri_yk
Posts: 11
Registered: ‎08-27-2011
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
Please use plain text.
New Developer
yoan
Posts: 13
Registered: ‎12-17-2012
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.

Please use plain text.
Contributor
Sri_yk
Posts: 11
Registered: ‎08-27-2011
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...

Please use plain text.
New Developer
yoan
Posts: 13
Registered: ‎12-17-2012
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);
                }
            }
        }
    
    }

 

Please use plain text.
New Contributor
amitk
Posts: 2
Registered: ‎02-08-2013
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

Please use plain text.
New Developer
yoan
Posts: 13
Registered: ‎12-17-2012
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!

Please use plain text.
New Contributor
amitk
Posts: 2
Registered: ‎02-08-2013
My Carrier: RIM

Re: webview: cant scroll in long dropdowns/select

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

Please use plain text.