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

Close popup issue #164

Open
Tigran-Kosemyan opened this issue Oct 21, 2024 · 0 comments
Open

Close popup issue #164

Tigran-Kosemyan opened this issue Oct 21, 2024 · 0 comments

Comments

@Tigran-Kosemyan
Copy link

After update the latest version, use same logic with new changes, I get this error when dropdown opened and I go to another page , in previous version used same logic but I don't have this issue

The following assertion was thrown while finalizing the widget tree:
You have popped the last page off of the stack, there are no pages left to show
'package:go_router/src/delegate.dart':
Failed assertion: line 119 pos 7: 'currentConfiguration.isNotEmpty'

When the exception was thrown, this was the stack:
salim-lachdhaf/dropdown_search#2 GoRouterDelegate._debugAssertMatchListNotEmpty (package:go_router/src/delegate.dart:119:7)
salim-lachdhaf/dropdown_search#3 GoRouterDelegate._completeRouteMatch. (package:go_router/src/delegate.dart:165:7)
salim-lachdhaf/dropdown_search#4 GoRouterDelegate._completeRouteMatch (package:go_router/src/delegate.dart:167:6)
salim-lachdhaf/dropdown_search#5 GoRouterDelegate._handlePopPageWithRouteMatch (package:go_router/src/delegate.dart:135:7)
salim-lachdhaf/dropdown_search#6 _CustomNavigatorState._handlePopPage (package:go_router/src/builder.dart:416:42)
salim-lachdhaf/dropdown_search#7 NavigatorState.pop (package:flutter/src/widgets/navigator.dart:5357:28)
salim-lachdhaf/dropdown_search#8 Navigator.pop (package:flutter/src/widgets/navigator.dart:2665:27)
salim-lachdhaf/dropdown_search#9 DropdownSearchPopupState.closePopup (package:dropdown_search/src/widgets/dropdown_search_popup.dart:781:34)
salim-lachdhaf/dropdown_search#10 DropdownSearchState.dispose (package:dropdown_search/dropdown_search.dart:773:34)
salim-lachdhaf/dropdown_search#11 StatefulElement.unmount (package:flutter/src/widgets/framework.dart:5826:11)
465 more
(elided 2 frames from class _AssertionError)

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

1 participant