-
Notifications
You must be signed in to change notification settings - Fork 81
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
[ios] Multiple Rebuild issue on 2.10.5 and 3.0.1 when opening keyboard #41
Comments
@marctan how about 3.0.5? |
Seems like this is similar to #49 |
@marctan We use the "natural" flutter rebuild path. I know the build function also does this for the keyboard, dialogs, bottom sheets and notifications / minimise. I'll see if it's any different from base flutter, if it is I'll make an adjustment if I can update the functionality. |
This is actually causing some issues, I don't think the version of flutter has much to do with it. I had thought it was the version of flutter but realized after switching around some things that it was actually updating Responsive_builder from 0.5.0 to 0.6.4 that caused some issues for us. The interesting part is that I don't see this in flutter beta channel current version. You can see that when I use ScreenTypeLayout.builder for this widget, and try to use the system keyboard it opens quickly and closes. If I create the widget without any responsive builder it works just fine: This is without Responsive builder This is with Responsive Builder Updating to add that with the upgrade, we also went from using the ScreenTypeLayout() to the ScreenTypeLayout.builder() So adding more info as I discover it. It appears that going back to ScreenTypeLayout() fixes the issue. Also interesting to note that just using: |
I had dug through this because I'm also facing the issue, for my understanding when the system keyboard opens the widget rebuilds because the screen size changes, why it happens pub uses MediaQuery so any changes to MediaQuery changes to widget Thanks for confirm will roll back to previous version |
Thanks for confirming this I'll look into it. I wonder what could be causing this. I appreciate the details and updating the issue. |
IDK how to put that code in collapsable let me if it helps |
@h4h13 I don't know what the above logs are for. |
Ignore thought it would help you to work on that media query bug |
Thanks. I appreciate the additional info, I'll tend to this as soon as I get past some of the course creation hurdles we're facing right now. |
Hello, there's an issue with flutter 2.10.5 when opening keyboard and using
responsive_builder
. It will callbuild
anddidChangeDependencies
multiple times. This is not happening in 2.8.1.2.8 video below:
v2.8.mov
2.10.5 and 3.0.1 video below
v2.10.5.mov
You can use this sample demo:
https://github.com/marctan/demo_rebuild
@FilledStacks
The text was updated successfully, but these errors were encountered: