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
Add print('PRINT build search widget autofocus=${widget.autofocus}'); on the first line of the SearchField build method (not SearchPage, both are in the same file) (I always put print in caps at the start so that I can search the logs for my print messages)
When then searching something you can see a lot of these messages, some with autofocus=true and a lot with autofocus=false
The autofocus=false even get printen further when navigating to the product page
The autofcous=false builds are from the search bar on the welcome card in the carussel, which is not supposed to be rebuilt here
What
To Reproduce
Add
print('PRINT build search widget autofocus=${widget.autofocus}');
on the first line of theSearchField
build method (not SearchPage, both are in the same file) (I always put print in caps at the start so that I can search the logs for my print messages)When then searching something you can see a lot of these messages, some with
autofocus=true
and a lot withautofocus=false
The
autofocus=false
even get printen further when navigating to the product pageThe
autofcous=false
builds are from the search bar on the welcome card in the carussel, which is not supposed to be rebuilt hereExpected behavior
It should not rebuild.
Part of
The text was updated successfully, but these errors were encountered: