-
Notifications
You must be signed in to change notification settings - Fork 27
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
Footer do not stick to iOS Keyboard #26
Comments
having the same issue did you figure out a solution? @zzterrozz @drogel could you please help? |
No solution found unfortunately |
It's possible that the keyboard attachable animations don't align perfectly on some iOS versions. Let me give you a super brief context about this package that will hopefully help:
In hindsight, I should probably just deprecate the package and redirect people to that part of the API, so that they know that they are better solutions for these kind of things nowadays. I'll review if that's a reasonable option. If you decide to use keyboard_attachable for whatever reason, keep in mind the package was a workaround in the first place. Although its code is very very simple and it should be fairly straightforward to fork it and twist it to your needs. |
Hey! Just a quick update, we may have a way to update the keyboard animations to the new iOS keyboard animation 🎉 I've created a branch for testing and experimentation with a version of the iOS animation that matches the new iOS keyboard animation better. https://github.com/drogel/keyboard_attachable/tree/experiment/updated_ios_keyboard_animation_tweens Take a look if you are interested. I'll see if the fidelity is good enough and test it a bit more, see what I can do. Thanks! |
RPReplay_Final1668543560.mp4@drogelfever still doesn't look "attached" when I try the |
Hi @loic-hamdi thanks for testing! Yes, I see you've got a bezel-less iPhone there, and I suspect I might have to do some more changes to support a smoother animation on bezel-less phones. I tested those changes against an iPhone SE simulator, which has bezels, and the fidelity seemed decent. Although simulators are not ideal to test this, I had no physical device around me today. Just FYI achieving pixel-perfect fidelity on this is going to be very very challenging. Keep in mind this package relies on a hardcoded curve for the keyboard animation, since we've got no platform API access to the iOS keyboard curve. All I've done so far is just implement the curve found in this Flutter Engine PR in Dart. This curve, in turn, is based on this GitHub project This is what I've got for a bezeled iPhone. I need to review the behaviour on bezel-less iPhones because your clip indeed displays a non-optimal result. Thanks! Screen.Recording.2022-11-15.at.19.44.33.mov |
Do we have any solution for android? THe merged PR back in 2021 is for iOS |
When I try the repo example on iOS physical device, I have the keyboard & footer that shows at a different speed.
How can I please fix this?
RPReplay_Final1650598264.mov
The text was updated successfully, but these errors were encountered: