Skip to content
New issue

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

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

Already on GitHub? # to your account

PaneItemExpander🐛 #819

Closed
longfit opened this issue Apr 30, 2023 · 1 comment
Closed

PaneItemExpander🐛 #819

longfit opened this issue Apr 30, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@longfit
Copy link

longfit commented Apr 30, 2023

Fluent_ui 4.5.0
use example

I design menu item which paneItem under PaneItemExpander as control group

I

When I set Nagivation Pane display mode at top
, click at last item ....

1> set top mode display when click overflow display area
which will be shown error as follow

throw FlutterError.fromParts([
ErrorSummary('Duplicate GlobalKey$s detected in widget tree.'),
// TODO(jacobr): refactor this code so the elements are clickable
// in GUI debug tools.
Screenshot from 2023-04-30 13-07-53

            ErrorDescription(
              'The following GlobalKey$s $were specified multiple times in the widget tree. This will lead to '
              'parts of the widget tree being truncated unexpectedly, because the second time a key is seen, '
              'the previous instance is moved to the new location. The key$s $were:\n'
              '- ${keyLabels.join("\n  ")}\n'
              'This was determined by noticing that after$the widget$s with the above global key$s $were moved '
              'out of $their$respective previous parent$s2, $those2 previous parent$s2 never updated during this frame, meaning '
              'that $they either did not update at all or updated before the widget$s $were moved, in either case '
              'implying that $they still $think that $they should have a child with $those global key$s.\n'
              'The specific parent$s2 that did not update after having one or more children forcibly removed '
              'due to GlobalKey reparenting $are:\n'
              '- ${elementLabels.join("\n  ")}'
              '\nA GlobalKey can only be specified on one widget at a time in the widget tree.',
            ),
          ]);
  1. click last item expander can not work onTap event

I don't know how to use the navigation View for menu paneitem and group the paneItem

Could you enhance the example case where have PaneItemExpander menu Item ?

thanks
Screenshot from 2023-04-30 13-07-53

@bdlukaa
Copy link
Owner

bdlukaa commented Apr 30, 2023

Duplicate of #812

@bdlukaa bdlukaa marked this as a duplicate of #812 Apr 30, 2023
@bdlukaa bdlukaa closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2023
@bdlukaa bdlukaa added the duplicate This issue or pull request already exists label Nov 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants