rblalock / core

Titanium / Alloy Boilerplate
Other
75 stars 31 forks source link

Pinch to home screen results in black screen #8

Closed skypanther closed 10 years ago

skypanther commented 10 years ago

Using the viewNavigation example, pinching to return to the home screen results in a black screen (all screens closed?). It doesn't seem to matter how many child screens you open or how much you pinch.

SDK: 3.2.3.GA CLI: 3.3.0-rc Alloy: 1.4.0-rc iOS Simulator, 7.1, iPhone Retina 3.5"

rblalock commented 10 years ago

Hey Tim, Thanks for reporting this. I just tried this by jumping several screens down and then pinching and it works for me. Here's a video. http://www.screencast.com/t/IXXOBCcQU5

I did notice if you pinch on the home screen it gives you the black screen though.

Any more details you could give me perhaps?

skypanther commented 10 years ago

It doesn't happen consistently. And maybe the problem is that the child windows close while the pinch continues such that the home screen receives the pinch event. That would jive with what you saw with pinching on the home screen.

rblalock commented 10 years ago

hmm yeh. That'd be an odd bug since the swipe is not on the window but on the view that is scaling out and going out of view. But to your point, it might be catching that close to home multiple times inside that pinch gesture.

I'll take a look at it.