{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/18828","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/18828/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/18828/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/18828/events","html_url":"https://github.com/flutter/flutter/issues/18828","id":335751970,"node_id":"MDU6SXNzdWUzMzU3NTE5NzA=","number":18828,"title":"TextField reloads the widget","user":{"login":"guediagael","id":14944184,"node_id":"MDQ6VXNlcjE0OTQ0MTg0","avatar_url":"https://avatars0.githubusercontent.com/u/14944184?v=4","gravatar_id":"","url":"https://api.github.com/users/guediagael","html_url":"https://github.com/guediagael","followers_url":"https://api.github.com/users/guediagael/followers","following_url":"https://api.github.com/users/guediagael/following{/other_user}","gists_url":"https://api.github.com/users/guediagael/gists{/gist_id}","starred_url":"https://api.github.com/users/guediagael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guediagael/subscriptions","organizations_url":"https://api.github.com/users/guediagael/orgs","repos_url":"https://api.github.com/users/guediagael/repos","events_url":"https://api.github.com/users/guediagael/events{/privacy}","received_events_url":"https://api.github.com/users/guediagael/received_events","type":"User","site_admin":false},"labels":[{"id":283479178,"node_id":"MDU6TGFiZWwyODM0NzkxNzg=","url":"https://api.github.com/repos/flutter/flutter/labels/a:%20text%20input","name":"a: text input","color":"38d8c8","default":false},{"id":284437560,"node_id":"MDU6TGFiZWwyODQ0Mzc1NjA=","url":"https://api.github.com/repos/flutter/flutter/labels/framework","name":"framework","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-26T10:18:29Z","updated_at":"2018-07-26T14:04:40Z","closed_at":null,"author_association":"NONE","body":"<!-- Thank you for using Flutter!\r\n\r\n     If you are looking for support, please check out our documentation\r\n     or consider asking a question on Stack Overflow:\r\n      * https://flutter.io/\r\n      * https://docs.flutter.io/\r\n      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent\r\n\r\n     If you have found a bug or if our documentation doesn't have an answer\r\n     to what you're looking for, then fill our the template below. Please read\r\n     our guide to filing a bug first:  https://flutter.io/bug-reports/\r\n-->\r\n\r\n## Steps to Reproduce\r\n\r\n<!--\r\n     Please tell us exactly how to reproduce the problem you are running into.\r\n\r\n     Please attach a small application (ideally just one main.dart file) that\r\n     reproduces the problem. You could use https://gist.github.com/ for this.\r\n\r\n     If the problem is with your application's rendering, then please attach\r\n     a screenshot and explain what the problem is.\r\n-->\r\n\r\n1.  Have a widget containing depending on a future builder \r\n2. Have one or more TextField(s) and/or TextFormFields\r\n3. When I press/select/click you name it the future whole scaffold reloads.\r\n I load a list from an API and I wanted to implement a search through that list. The problem is any time I press into the input field, the keyboard appears for like an half of a second, the whole widget reloads.\r\nIs there a work around ? \r\n\r\n## Logs\r\n\r\n<!--\r\n      Run your application with `flutter run --verbose` and attach all the\r\n      log output below between the lines with the backticks. If there is an\r\n      exception, please see if the error message includes enough information\r\n      to explain how to solve the issue.\r\n-->\r\n\r\n```\r\n```\r\n\r\n<!--\r\n     Run `flutter analyze` and attach any output of that command below.\r\n     If there are any analysis errors, try resolving them before filing this issue.\r\n-->\r\n\r\n```\r\n```\r\n\r\n<!-- Finally, paste the output of running `flutter doctor -v` here. -->\r\n\r\n```\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/408108758","html_url":"https://github.com/flutter/flutter/issues/18828#issuecomment-408108758","issue_url":"https://api.github.com/repos/flutter/flutter/issues/18828","id":408108758,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODEwODc1OA==","user":{"login":"DarshanGowda0","id":10462504,"node_id":"MDQ6VXNlcjEwNDYyNTA0","avatar_url":"https://avatars1.githubusercontent.com/u/10462504?v=4","gravatar_id":"","url":"https://api.github.com/users/DarshanGowda0","html_url":"https://github.com/DarshanGowda0","followers_url":"https://api.github.com/users/DarshanGowda0/followers","following_url":"https://api.github.com/users/DarshanGowda0/following{/other_user}","gists_url":"https://api.github.com/users/DarshanGowda0/gists{/gist_id}","starred_url":"https://api.github.com/users/DarshanGowda0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarshanGowda0/subscriptions","organizations_url":"https://api.github.com/users/DarshanGowda0/orgs","repos_url":"https://api.github.com/users/DarshanGowda0/repos","events_url":"https://api.github.com/users/DarshanGowda0/events{/privacy}","received_events_url":"https://api.github.com/users/DarshanGowda0/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T14:04:40Z","updated_at":"2018-07-26T14:04:40Z","author_association":"NONE","body":"The whole widget is refreshed and keyboard goes back within a split second as mentioned clearly by @guediagael . The suggest by @sccrgoalie1 helps to avoid the widget to refresh but the future or stream call is still made. Reads are charged on cloud-firestore and can be a serious issue here."}}
{"actor":{"display_login":"DarshanGowda0"}}