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
{{ message }}
Repository navigation
Commit a7d3273
Browse filesBrowse the repository at this point in the historyBrowse files
fix(native): hand a node the props its classes imply on the first draw too (#2195)
object-cover is not a style on a phone: it is the Image's resizeMode prop, as
truncate is a Text's numberOfLines. The host was handed those only for a node
created after the screen's first draw. One that was on screen from the start
got its style and nothing else, and so did every node on the redraw that
follows a refused batch.
So a cover photo whose address was already known at the first draw reached
the host with no resizeMode and was drawn fitted between two bars, while the
thumbnails in a loop under it, created a moment later with the same classes,
filled their boxes. A truncated title on screen from the start was not
truncated either.
The first draw and the redraw now carry them, as creation already did.
0 commit comments