Skip to content

Commit

Permalink
Merge pull request Expensify#28127 from pradeepmdk/fix/23672-text-iss…
Browse files Browse the repository at this point in the history
…ue-on-html-in-android

23672-Fixing last word text disappearance on quote messages with links in android
  • Loading branch information
grgia authored Sep 27, 2023
2 parents d7ad305 + afc70e5 commit 9aea8ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const defaultViewProps = {style: [styles.alignItemsStart, styles.userSelectText]
// costly invalidations and commits.
function BaseHTMLEngineProvider(props) {
// We need to memoize this prop to make it referentially stable.
const defaultTextProps = useMemo(() => ({selectable: props.textSelectable, allowFontScaling: false}), [props.textSelectable]);
const defaultTextProps = useMemo(() => ({selectable: props.textSelectable, allowFontScaling: false, textBreakStrategy: 'simple'}), [props.textSelectable]);

// We need to pass multiple system-specific fonts for emojis but
// we can't apply multiple fonts at once so we need to pass fallback fonts.
Expand Down

0 comments on commit 9aea8ec

Please sign in to comment.