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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Regular Contributor
JohnWS
Posts: 83
Registered: ‎02-08-2013
My Carrier: verizon
Accepted Solution

Swipe right in app gives blank screen

Hi,

 

I have just noticed if I swipe right from left side of phone (like you do to show hub) that I get a white screen with no way of getting back to my original screen. I am using pages in navigationpane.

 

Is this something im doing wrong like not listening for appropriate event?

Please use plain text.
Developer
Zmey
Posts: 919
Registered: ‎12-18-2012

Re: Swipe right in app gives blank screen

Hi,

I wasn't able to reproduce this. Probably the first page in NavigationPane is blank or got destroyed somehow.
Please use plain text.
Regular Contributor
JohnWS
Posts: 83
Registered: ‎02-08-2013
My Carrier: verizon

Re: Swipe right in app gives blank screen

Is swiping (like you do to show hub) meant to pop a screen or something similar?

 

Is there an event which is meant to be triggered when the swipe happens?

 

Really don't know how to get to the bottom of this issue.

Please use plain text.
Developer
ndsmyter
Posts: 624
Registered: ‎09-26-2012
My Carrier: Mobile Vikings

Re: Swipe right in app gives blank screen

Maybe http://developer.blackberry.com/cascades/reference/bb__cascades__navigationpane.html could help you in understanding what has to happen ?


A like is always appreciated,
but a nomination for BB Elite even more :-)
You can also contact me on Twitter: @ndsmyter
Please use plain text.
Regular Contributor
JohnWS
Posts: 83
Registered: ‎02-08-2013
My Carrier: verizon

Re: Swipe right in app gives blank screen

thanks, after finding out that swipe right actually triggers back I realised I had some changes to make concerning how I pushed my pages onto the stack.

 

sorted now!

Please use plain text.
Developer
Zmey
Posts: 919
Registered: ‎12-18-2012

Re: Swipe right in app gives blank screen

By swiping the screen you can peek into previous screen in NavigationPane or pop current screen and return to the previous one if touch is released during peek.

By swiping on the back button it's possible to peek on the first screen in the stack.

When there is only one screen in NavigationPane the bottom panel is hidden.

So it could be that you pushed multiple pages to NavigationPane and returning to the first one which is blank.

Also, if you push multiple pages then somehow destroy the first one without removing it from NavigationPane first the same effect can be observed.
Please use plain text.