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
StevenKader
Posts: 638
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers
Accepted Solution

Ripple Issue Using Sample App

I downloaded the samples and the KitchenSink is working fine on Ripple but the UIExample one isn't displaying properly.  If looks good for 2 seconds and then switches to what you see in the attached image.  Has anyone seen this?

 

Thanks in advance for any help.

 

ripple-issue.png


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
New Developer
amitabhsh
Posts: 13
Registered: ‎10-16-2011
My Device: 9300
My Carrier: Vodafone

Re: Ripple Issue Using Sample App

Yes i noticed the same thing yesterday. if you will open the HTML pages directly in a normal browser window you will see the style sheets properly being applied.

If you will see the console output , ripple gets 404 for the css files.
Please use plain text.
Administrator
MSohm
Posts: 14,528
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Ripple Issue Using Sample App

We are aware of this issue.  You can read more about it and track its status here:  https://github.com/blackberry/Ripple-UI/issues/190

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
StevenKader
Posts: 638
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Ripple Issue Using Sample App

I noticed Tim had a workaround to get the sample to run correctly. If that's the case perhaps the samples should be modified so they run in ripple first time fir new developers.

Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Ripple Issue Using Sample App

Hi Steven,

 

The issue with the quick fix is that it will make a bad experience on the actual device.  The fix is to not listen for the event that I'm listening for, the alternative is to do a setTimeout() that will make the content show unformated and then re-appear formatted.

 

Hmmm.. maybe I can make a change in the JavaScript and detect Ripple vs. the Browser.. I'll check into it this morning.

 

I am working on some more changes in the UIExamples that I am hoping to get pushed back over to the repo shortly.  If you want to track my progress you can check out my fork.

 

https://github.com/tneil/WebWorks-Samples/tree/master/UIExamples

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Developer
StevenKader
Posts: 638
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Ripple Issue Using Sample App

Thanks, I'll follow your fork for updates.

Steve

Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Ripple Issue Using Sample App

I updated the main repo so that it loads successfully in Ripple as well.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.