-
Notifications
You must be signed in to change notification settings - Fork 130
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
Can not Focus TexField #30
Comments
update: the Problem is from FocusScope
if i remove FocusScope i dont have the problem ! |
hi @NicolasCELLA, have you tried to follow this example FocusNode Example? You should create a FocusNode to pass to the text field, and invoke the requestFocus () method in the InnerDrawer callback |
Yes of course ! But if you look the end of the video ! I can't tab inside the textField !
This working ! I dont know why but maybe in your widget something is not unfocused ! |
@NicolasCELLA I removed focusScope, at the moment it seems to work properly even without. try it and let me know. |
Yes this work very well ! But why focusScope why used ? It's was important ? Because a don't see difference without |
@NicolasCELLA it is used to move the focus between one widget and another. It didn't work because I forgot to enter a parameter |
This version work fine 👌 ! But i have a recommandation for your widget : Actually : without :
but with only :
|
@NicolasCELLA could you show the source code that creates this problem? I have made several tests and it behaves correctly |
Hello !
I have a probleme, i can't focus a TextField after used Navigator.push()
I have an example :
https://www.youtube.com/watch?v=ppQUZIc8e7s&feature=youtu.be
if you have an idea why 😇
The text was updated successfully, but these errors were encountered: