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

🐛 Closing a PaneItemExpander close the app #707

Closed
AlexisL61 opened this issue Jan 29, 2023 · 4 comments · Fixed by #714
Closed

🐛 Closing a PaneItemExpander close the app #707

AlexisL61 opened this issue Jan 29, 2023 · 4 comments · Fixed by #714
Labels
bug Something isn't working

Comments

@AlexisL61
Copy link

Describe the bug
When closing a PaneItemExpander, the app close itself.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://bdlukaa.github.io/fluent_ui/
  2. Click on NavigationView
  3. Click on account in the example
  4. Click again on account to close the expander

Expected behavior
The Expander should close, and not the app

@bdlukaa bdlukaa added the bug Something isn't working label Jan 29, 2023
@h3x4d3c1m4l
Copy link
Contributor

h3x4d3c1m4l commented Jan 29, 2023

Looks like a crash, the window goes to black and it prints this error:

Unhandled Exception: 'package:fluent_ui/src/controls/flyouts/flyout.dart': Failed assertion: line 470 pos 12: 'isAttached': This controller must be attached to a FlyoutTarget

The error gets printed when you open the PaneItemExpander, but it only goes to black when you close the PaneItemExpander.

@bdlukaa bdlukaa mentioned this issue Jan 30, 2023
3 tasks
@diegotus
Copy link

diegotus commented Feb 6, 2023

hi, i just upgrade to 4.2.0 but this issue seems to not be fixed.

Add from git is wrorking:
fluent_ui:
git: https://github.com/bdlukaa/fluent_ui.git

but adding with version nother seems to not work. and also Flyout is not found
fluent_ui: ^4.2.0

@h3x4d3c1m4l
Copy link
Contributor

There has not been a release yet containing the fix.

Please wait a little more or, as you mentioned yourself, use the git solution meanwhile :) !

@longfit
Copy link

longfit commented Feb 10, 2023

error click at PaneItemExpander

I use
git: https://github.com/bdlukaa/fluent_ui.git
which can fix below error at Linux , ios , windows

But I still came below error message at android , no matter using 4.3.0

error message from android debug:

void _ensureAttached() {
assert(isAttached, 'This controller must be attached to a FlyoutTarget');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants