Closed subdan closed 5 years ago
If I enable drap&drop for ItemRenderer and touch on ItemRenderer I get an exception: ArgumentError: Stage cannot be null. on this line
ArgumentError: Stage cannot be null.
protected function itemRenderer_drag_touchHandler(event:TouchEvent):void { ... var exclusiveTouch:ExclusiveTouch = ExclusiveTouch.forStage(itemRenderer.stage); // stage = null
This exceptions happens if I navigate to another screen when a user taps on an ItemRenderer. Is it a bug? Maybe I'm doing something wrong?
As a workaround I navigate to another screen with delay: Starling.juggler.delayCall(dispatchEventWith, 0.1, ...
Starling.juggler.delayCall(dispatchEventWith, 0.1, ...
Thanks.
If I enable drap&drop for ItemRenderer and touch on ItemRenderer I get an exception:
ArgumentError: Stage cannot be null.
on this lineThis exceptions happens if I navigate to another screen when a user taps on an ItemRenderer. Is it a bug? Maybe I'm doing something wrong?
As a workaround I navigate to another screen with delay:
Starling.juggler.delayCall(dispatchEventWith, 0.1, ...