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
measureParentSize uses a self-relative measureLayout call
(view.measureLayout(view, cb)) to get the view's width and height.
The x,y values from this call are always (0,0) on Paper and web since
a view's position relative to itself is the origin. The downstream
firstItemOffset calculation subtracted outerViewLayout.x/y which was
always a no-op.
Remove x,y from the return type (Layout -> Size), drop the dead
subtractions in RecyclerView, and rename outerViewLayout to
outerViewSize to reflect what it actually contains.
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
0 commit comments