If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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

Web and WebWorks Development

Reply
Developer
TheFlowFX
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB
My Carrier: Bags are useful
Accepted Solution

Playbook, BBui Keeps Freezing

[ Edited ]

Hi,

 

I've run into a problem when using bbUI.js for playbook. The scrolling in my app between the lists seems to be fine. The user can click a link once then use the back button on the action bar to go back. The problem is, when the user clicks a different link a second time, the app goes to the page but then freezes.

 

Im not exactly sure where the problem lies but is it because my index.html looks like this:

<!DOCTYPE HTML>
<html style>
<head>
	<meta charset="utf-8">
    <meta name="x-blackberry-defaultHoverEffect" content="false" />
    <meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=no, target-densitydpi=device-dpi" />
    <link  rel="stylesheet" type="text/css" href="css/bbui-0.9.5.css"></link>
          <script type="text/javascript" src="js/bbui-0.9.5.js"></script>
          <script type="text/javascript" src="local:///chrome/webworks.js"></script>
          <script type="text/javascript">
		  
		  bb.init({
			  bb10HighlightColor: 'B03060',
			  bb10ActionBarDark: true,
			  bb10ControlsDark: true,
			  bb10ListsDark: false,
			  coloredTitleBar: true,
			  bb10ForPlayBook: true
		  });
		  </script>
</head>

<body onLoad="bb.pushScreen('content.html','content');"></body>
</html>

 Note: The app works fine on the Ripple Emulator, but not on the actual device.

 

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

Please use plain text.
Developer
TheFlowFX
Posts: 166
Registered: ‎02-15-2012
My Device: Playbook 16GB
My Carrier: Bags are useful

Re: Playbook, BBui Keeps Freezing

Just updated to bbUI 0.9.6 and the problem Solved!

If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!

Please use plain text.