You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an explanation if you're interested. By default, the bottom presentation places the message view 5pt below the screen so that the spring animation doesn't show a gap under the view when it overshoots. This behavior is intended for cases where the message view has a background color. However, you're using a clear message view with a background view that provides the visible region of the view. The background view's constraints negate the 5pt offset, so it aligns with the bottom of the screen. However, when you add the keyboard tracking view, the entire message view, along with the background view, is pushed up by 5pt.
You can fix this by setting the following:
messageView.bounceAnimationOffset =0
But on the work/9.0.5 branch, I've accounted for bounceAnimationOffset with the keyboard tracking view, so the above setting isn't needed.
Thank you, I tried the work/9.0.5 branch and it worked as expected. Anyway, I use a custom TopBottomAnimation to disable the spring damping so setting bounceAnimationOffset = 0 also do the work.
When I add
KeyboardTrackingView
to config and show abottom
-style view, there is a small space under it.respectSafeArea = false
is for iPhone with notch so we can clearly see it. I tried on normal iPhones and this still happens.Screenshots:
With
KeyboardTrackingView
:Without:
The text was updated successfully, but these errors were encountered: