Describe the bug
When typing with Bold enabled on iOS, autocorrect/autocomplete interferes with the bold formatting. As you type a word, the autocorrect suggestion replaces the word and simultaneously removes the bold style. The replacement text loses its bold
formatting.
This is a regression introduced in 0.6.x — the issue did not exist in 0.5.2.
To Reproduce
- Open the app and create a new journal entry
- Tap the Bold button in the toolbar to enable bold formatting
- Start typing a word, e.g., "hello worls"
- Notice "worls" gets auto-selected by iOS autocorrect (suggesting "world")
- Press Space to accept the autocorrect suggestion
- Observe: the bold formatting is removed from the corrected word ("world" appears in normal weight), and the bold state is deactivated in the toolbar
Expected behavior
When autocorrect replaces a misspelled word while Bold is active:
- The replacement text ("world") should retain bold formatting
- The Bold state in the toolbar should remain active
- Subsequent typing should continue in bold
This worked correctly in version 0.5.2.
Vidoe
https://github.com/user-attachments/assets/2ac95dc4-06e9-4db6-b2e5-52e5ae56000a
Device (please complete the following information):
- Device: iPhone (tested on simulator and real device)
- OS: iOS 26+
- Library version: react-native-enriched 0.6.1
Additional context
- This only happens on iOS. Android does not exhibit this behavior.
Describe the bug
When typing with Bold enabled on iOS, autocorrect/autocomplete interferes with the bold formatting. As you type a word, the autocorrect suggestion replaces the word and simultaneously removes the bold style. The replacement text loses its bold
formatting.
This is a regression introduced in 0.6.x — the issue did not exist in 0.5.2.
To Reproduce
Expected behavior
When autocorrect replaces a misspelled word while Bold is active:
This worked correctly in version 0.5.2.
Vidoe
https://github.com/user-attachments/assets/2ac95dc4-06e9-4db6-b2e5-52e5ae56000a
Device (please complete the following information):
Additional context