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

Model notifyListeners closes EndDrawer #96

Open
cedarbob opened this issue Sep 11, 2020 · 0 comments
Open

Model notifyListeners closes EndDrawer #96

cedarbob opened this issue Sep 11, 2020 · 0 comments

Comments

@cedarbob
Copy link

My app's home page opens an EndDrawer in a ScopedModelDescendant for editing app settings. When the user makes a change affecting the main page widgets, the drawer widget calls a model method which uses notifyListeners to keep the main UI up to date. The problem is that this immediately closes the EndDrawer. If I don't call notifyListeners in this way, the main UI is stale when the drawer closes.

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