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
Developer
Posts: 121
Registered: ‎02-08-2013
My Device: 9900
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?

Developer
Posts: 1,523
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

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.

Andrey Fidrya, @zmeyc on twitter
Developer
Posts: 121
Registered: ‎02-08-2013
My Device: 9900
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.

Developer
Posts: 648
Registered: ‎09-26-2012
My Device: Limited Edition Z10, Playbook 16GB/32GB, Dev Alpha A/B/C
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
Developer
Posts: 121
Registered: ‎02-08-2013
My Device: 9900
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!

Highlighted
Developer
Posts: 1,523
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

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.

Andrey Fidrya, @zmeyc on twitter