You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a widget uses ref.listen to listen for a provider and that widget rebuilds, ref.onCancel is getting unexpectedly called. The behavior when using ref.watch works as expected.
Describe the bug
When a widget uses
ref.listen
to listen for a provider and that widget rebuilds,ref.onCancel
is getting unexpectedly called. The behavior when usingref.watch
works as expected.To Reproduce
Expected behavior
I expect
ref.onCancel
not to be called.This might be related to #2992 & #3744
The text was updated successfully, but these errors were encountered: