Files
react-native/Libraries
Andrei Shikov a8a85034e1 Check for negative numberOfLines in TextView
Summary:
Negative `numberOfLines` prop is not supported by Android and causes a crash during layout measurement. This change adds a check in JS to catch the error earlier.

Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D30047103

fbshipit-source-id: 4248a0f573c3b6facd25c7ae6ce007a357a1469b
2021-08-04 05:13:57 -07:00
..
2021-08-02 19:43:04 -07:00
2021-07-01 09:04:46 -07:00
2021-04-26 22:57:55 -07:00