Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dropdown crash on android #57

Open
WSandwitch opened this issue Jul 6, 2021 · 2 comments
Open

dropdown crash on android #57

WSandwitch opened this issue Jul 6, 2021 · 2 comments

Comments

@WSandwitch
Copy link

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
Copy link
Member

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

@WSandwitch
Copy link
Author

WSandwitch commented Jul 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants