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
fix(core): iOS scrollToVerticalOffset lands past the offset when there is a content inset
Both scrollTo*Offset methods asked UIKit to scroll a viewport-sized rect
into view. With a bottom (or right) content inset that rect cannot fit in
the visible area, so UIKit aligned its far edge instead and the scroll
ended contentInset.bottom past the requested offset — a chat scrolling to
its last message with a docked composer inset overshot by the inset every
time. The offset is now set directly, clamped to the range a user scroll
can reach, which also matches what Android does.
0 commit comments