Skip to content

Flutter Problem scenario TextFormField in pages of PageViewController disappear when focused

Notifications You must be signed in to change notification settings

Minsky/issue_textform_visiblity_page_controller

Repository files navigation

Flutter playground for Focusing TextFormFields in PageViewController

The goal is to find a solution for the scenario, that a TextFormField gets the Focus in a page, which is in a PageViewController.

As long as there is no PageViewController or TabController surrounding the page the current solutions provided by Collin Jackson (https://gist.github.com/collinjackson/50172e3547e959cba77e2938f2fe5ff5) and Didier Boealens (https://www.didierboelens.com/2018/04/hint-4-ensure-a-textfield-or-textformfield-is-visible-in-the-viewport-when-has-the-focus/) work fine.

The PageViewController setup is based on the sample app from Collin Jackson too: https://gist.github.com/collinjackson/4fddbfa2830ea3ac033e34622f278824

Getting Started

For help getting started with Flutter, view our online documentation.

About

Flutter Problem scenario TextFormField in pages of PageViewController disappear when focused

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published