Closed ecreeth closed 2 weeks ago
This looks right. I verified that the default styles for a <mark>
element don't change with with color-scheme: dark
applied and so the styling is consistent with what is expected on the web.
Based on my testing in Expo Snack, the rendered results are as expected in Android, but slightly wrong on iOS.
Android:
iOS:
Is this a bug we should report to RN? Note how the yellow background continues to end of the line even when the text has already wrapped to the next line?
Is this a bug we should report to RN? Note how the yellow background continues to end of the line even when the text has already wrapped to the next line?
I'll check later on this locally in RN 0.76.1 and RN 0.75.* to verify if this is a regression. I'll share screenshots!
Pretty sure that's a known RN bug
I could reproduce the issue locally and confirm it only happens on IOS , although I only tested it on the current version of the demo app. It is indeed a RN bug. |
Android | IOS |
---|---|---|
This PR fixes #229