feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
915 stars 386 forks source link

Error while using isSwipeToPopEnabled = true; #1716

Closed denisgl7 closed 6 years ago

denisgl7 commented 6 years ago
screenNavigator = new StackScreenNavigator();
screenNavigator.isSwipeToPopEnabled = true; 
screenNavigator.minimumDragDistance = 0.02;
screenNavigator.swipeToPopGestureEdgeSize = 1;
screenNavigator.minimumSwipeVelocity = 2;
var item:StackScreenNavigatorItem = new StackScreenNavigatorItem(SomeScreen);
//item.popTransition = Slide.createSlideRightTransition(); - not use

SomeScreen

driverList = new List();
var drivertHorizontalLayout:SlideShowLayout = new SlideShowLayout();
driverList.layout = drivertHorizontalLayout;

Interaction (moving from left to right) with list causes an error StackScreenNavigator if(this._dragEffectTransition.length < 4) - [Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.