-
Notifications
You must be signed in to change notification settings - Fork 6
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
A weird ViewportInset issue #54
Comments
Could you post more information about the problem, like screenshots or a code snippet? |
Thanks for the further information! TextField(
maxLines: 1,
onTap: () {
final controller = ExprollablePageController.of(context);
// Check if the page is not fully expanded
if (controller != null && !controller.viewport.isPageExpanded) {
// Force the page to expand
controller.jumpViewportInsetTo(ViewportInset.expanded);
}
},
), I plan to re-implement the ExprollablePageView using my other package, smooth_sheets, which I am currently developing. Once this reimplementation is complete, it should resolve the issue of the on-screen keyboard overlapping, as the mentioned package specifically addresses this problem. |
I got a case where I need to use keyboard inside PageView, initialInset: const ViewportInset.fractional(0.9),
The pages are dynamically generated, at least 1 page will be build,
but while there's exactly 1 page, the keyboard will covered a bit of space inside page,
until I slide the page so slightly that it won't close & force rebuild itself.
While if I got >= 2 pages to be build, this weird behaviour doesn't present at all, works normally.
The text was updated successfully, but these errors were encountered: