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
When there are percentage value of margin or padding, the application crashes with the following error message:
Error setting property 'margin' of RCTVirtualText with tag #873: JSON value '19% 0' of type NSString cannot be converted to a YGValue. Did you forget the % or pt suffix?
2020-10-26 20:19:54.301581+0800 Wish1075[3183:72044] [native] Error setting property 'margin' of RCTView with tag #877: JSON value '19% 0' of type NSString cannot be converted to a YGValue. Did you forget the % or pt suffix?
2020-10-26 20:19:59.720127+0800 Wish1075[3183:71841] Returning local object of class NSString
(Write your steps here:)
Render the following code snippet
<HTML html={`<html><body><div style="padding: 19% 0;">The quick brown fox jumps over the lazy dog</div></body></html>`}
baseFontStyle={{ color: Colors.text }}
tagsStyles={tagsStyles}
imagesMaxWidth={Dimensions.get('window').width - 40} />
If there are percentage on padding, the application crashes
The text was updated successfully, but these errors were encountered:
kenken023
changed the title
Percentage value for padding crashes the application
Percentage value for padding and margin crashes the application
Oct 26, 2020
Oath
I swear that I have completed these tasks before submitting:
Decision table
we claim support for it),
<yyy>
is not rendered”Bug Report
Setup
React Native
Libraries
Devices
Reproduction
Description
When there are percentage value of margin or padding, the application crashes with the following error message:
(Write your steps here:)
The text was updated successfully, but these errors were encountered: