Repository navigation
v1.46.25
·
137 commits
to main
since this release
Android list scrolling fix and iOS Switch parity on top of 1.46.24.
- Android: a list cell bound ahead of a moving list (a fling laying out rows
beyond the screen, a window slide repairing an off-screen row) is built in
slices within the per-frame mount budget and resumed on the next frames,
instead of all at once once the budget allowed it to start. A feed row of
40 to 150 views took 20 to 50 ms in one frame (debug builds); the late frame
left the window buffer-stuffed (each following frame waiting a whole vsync
for a buffer) for the rest of the fling, which showed as 5 to 11% janky
frames in a third of the feed scrolls. A row reaching the screen is always
completed before it draws. A node gaining a native view inside a row whose
slices have not built its host yet is created by the remaining slices. - iOS:
Switchis the systemUISwitch(React Native parity) instead of a
drawn Android-style track and thumb. The engine gives aSwitchwithout
explicit dimensions the UISwitch size reported by the host
(pam_native_engine_set_switch_size; Android keeps46.5 × 27), and
trackColorTrue/trackColorFalse/thumbColormap to
onTintColor/tintColor/thumbTintColoronly when set; removing one
restores the system color.