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

is it possible not to dispose the custom textEditingController? #707

Open
yuhan555 opened this issue Feb 3, 2025 · 1 comment
Open

is it possible not to dispose the custom textEditingController? #707

yuhan555 opened this issue Feb 3, 2025 · 1 comment

Comments

@yuhan555
Copy link

yuhan555 commented Feb 3, 2025

I have the same problem, is it possible not to dispose the custom textEditingController?

hey @iceycc I guess you passed your own textEditingController and then you tried to use it after chat screen was closed? Because I have this code in the input

@override

void dispose() {

  _textController.dispose();

  super.dispose();

}

it might be that I dispose your custom textEditingController before you try to use it for some reason. Is this the case you think?

Originally posted by @demchenkoalex in #333

@demchenkoalex
Copy link
Member

hey! sorry I do not support v1 for more than half a yer now. All new code goes to main brach now and I just did exactly what is asked for v2 e6ccf95

You would have to fork or path v1 to change this. Alternatively, let me know what is blocking you from migrating to v2 and I will see if I can add that quickly.

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

2 participants