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

Web and WebWorks Development

Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA

BBUI.js for Q10 not working properly in z10



We are porting our Z10 app to Q10 but facing a lot of issues with the bbui.js's latest beta release.

The screen transitions are not smooth although we have written the following code in our config file.

<rim:transitionEffect type="fadeOut" />

We are not getting  the fade effect. We are using bbui's 0.9.6 beta release. BBUI 0.9.5 does not support development for Q10. What can be done to solve the transistions issue. The whole UI gets distorted on Z10. We want to use a single build for Z10 and Q10.





New Developer
Posts: 77
Registered: ‎10-23-2008
My Device: 9000

Re: BBUI.js for Q10 not working properly in z10

I think this is no BBui bug, this is a WebWorks bug.




Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: BBUI.js for Q10 not working properly in z10

2 things I recommend you confirm :


1) Make sure  you using version or higher.  This contains a fix for Q10 support.


2) Make sure your bbUI initialization logic is properly detecting BlackBerry 10, like this:




The rim:transitionEffect element is not supported by BlackBerry 10.  Setting it in your config will have no effect on your Q10 or Z10 app




If you want to do page transition effects in bbUI.js, you define a data-bb-effect property in your HTML.  See docs here:




Follow me on Twitter: @n_adam_stanley
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Posts: 41
Registered: ‎03-26-2011
My Device: 8520, 9300, Playbook, Dev Alpha
My Carrier: Digicel Guyana

Re: BBUI.js for Q10 not working properly in z10

I keep getting this error: blackberry not defined in bbui.js