haxeui / haxeui-openfl

The OpenFL backend of the HaxeUI framework -
http://haxeui.org
MIT License
42 stars 14 forks source link

dropdown crash on android #57

Open WSandwitch opened 3 years ago

WSandwitch commented 3 years ago

Dropdown without "dropdownWidth" crashes on android when tap.

stacktrace:

2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from hxcpp::__hxcpp_main 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from ApplicationMain::main ApplicationMain.hx line 25 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from ApplicationMain::create ApplicationMain.hx line 130 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from lime.app.Application::exec lime/app/Application.hx line 150 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from lime._internal.backend.native.NativeApplication::exec lime/_internal/backend/native/NativeApplication.hx line 146 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from lime._internal.backend.native.NativeApplication::handleMouseEvent lime/_internal/backend/native/NativeApplication.hx line 337 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from lime.app._Event_Float_Float_lime_ui_MouseButton_Void::dispatch lime/_internal/macros/EventMacro.hx line 91 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from openfl.display.Stage::onLimeCreateWindow openfl/display/Stage.hx line 1706 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from openfl.display.Stage::onLimeMouseDown openfl/display/Stage.hx line 1855 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from openfl.display.Stage::onMouse openfl/display/Stage.hx line 2479 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from openfl.display.Stage::dispatchStack openfl/display/Stage.hx line 1307 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from openfl.display.DisplayObject::dispatch openfl/display/DisplayObject.hx line 1399 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from openfl.events.EventDispatcher::dispatchEvent openfl/events/EventDispatcher.hx line 402 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from haxe.ui.backend.ComponentImpl::__onMouseEvent haxe/ui/backend/ComponentImpl.hx line 316 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from haxe.ui.core.ComponentEvents::_onMappedEvent haxe/ui/core/ComponentEvents.hx line 126 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from haxe.ui.core.ComponentEvents::dispatch haxe/ui/core/ComponentEvents.hx line 98 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from haxe.ui.util.EventMap::invoke haxe/ui/util/EventMap.hx line 76 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from haxe.ui.components.DropDownEvents::onClick haxe/ui/components/DropDown.hx line 502 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from haxe.ui.components.DropDownEvents::showDropDown haxe/ui/components/DropDown.hx line 550 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/HXCPP: Called from haxe.ui.components.ListDropDownHandler::prepare haxe/ui/components/DropDown.hx line 227 2021-07-06 17:54:25.010 2956-2983/wsstudio.inventory E/Exception: Null Object Reference

With dropdownWidth works fine.

ianharrigan commented 3 years ago

Are you using git version of haxeui-core / haxeui-openfl?

WSandwitch commented 3 years ago

Yes, git version. I installed them about 7 days ago.