Files
react-native/ReactCommon
Jiayan Zhuang 96708d58e4 Add getRectWithAttributedString() to RCTTextLayoutManager
Summary:
Changelog:
[iOS][Added] - `getRectWithAttributedString()` aims to get the rect of the fragment with embedded link, which is necessary when building the `accessibilityElement`. In this function, we first enumerate attributedString to find the range of fragments whose `accessibilityRole` is @"link". Then we calculate the rect of the fragment and send to the block and we would define what to do in the block in `RCTParagraphComponentAccessibilityProvider`.

Reviewed By: shergin

Differential Revision: D22286733

fbshipit-source-id: 4d11cb54375a4e9e72869e646fcb484de089b14b
2020-07-06 15:00:58 -07:00
..
2020-05-15 21:55:52 -07:00
2020-05-15 21:55:52 -07:00
2020-05-15 21:55:52 -07:00
2020-07-02 04:06:19 -07:00
2020-05-15 21:55:52 -07:00
2020-05-15 21:55:52 -07:00