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

Nested components cannot trigger click events #635

Closed
1 of 3 tasks
lc-c opened this issue Jan 18, 2021 · 4 comments · Fixed by #636
Closed
1 of 3 tasks

Nested components cannot trigger click events #635

lc-c opened this issue Jan 18, 2021 · 4 comments · Fixed by #636

Comments

@lc-c
Copy link

lc-c commented Jan 18, 2021

Description

Nested components cannot trigger click events

Development environment

Flame version: ^1.0.0-rc5

Flutter doctor:

 Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.5, on Linux, locale zh_CN.UTF-8)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[!] Android Studio (version 4.0)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Runtime

This issue is related to running on which platform? (Select all that apply)

  • Android :android:
  • iOS 🍎
  • Web :browser:

Minimal reproducible code (Required for bugs)

Include a minimal code that reproduces the problem add it inline using code block markdown, or a link to Github repository:

@spydon
Copy link
Member

spydon commented Jan 18, 2021

@lc-c you'll have to include some code and more explanation to what is not working here, a normal composed component and click events are working for me.

@lc-c
Copy link
Author

lc-c commented Jan 18, 2021

game -> PositionComponent -> PositionComponent ->PositionComponent
Finally, the component cannot trigger the click event

@erickzanardo
Copy link
Member

@lc-c as mentioned on the template, we need some minimal reproducible code when a bug is reported, could you please take a look on that so we can continue on analyzing this?

@spydon
Copy link
Member

spydon commented Jan 21, 2021

Fixed in 1.0.0-rc6

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

Successfully merging a pull request may close this issue.

3 participants