Commit 40d1ee2
authored
fix(android): removing inline styles (#672)
# Summary
Fixes: #671
This PR fixes removing inline styles within a range while preserving the
styles before and after the selected range.
## Test Plan
Run reproduction steps from issue: #671
The issue should be resolved.
## Screenshots / Videos
Before:
https://github.com/user-attachments/assets/b260a081-fd1b-4f96-b615-d595a203a7ba
After:
https://github.com/user-attachments/assets/a5942796-1cdf-43ca-90c4-450b4fb68c3a
## Compatibility
| OS | Implemented |
| ------- | :---------: |
| iOS | ❌ |
| Android | ✅ |
| Web | ❌ |
## Checklist
- [x] E2E tests are passing
- [x] Required E2E tests have been added (if applicable)1 parent 99729b4 commit 40d1ee2
4 files changed
Lines changed: 42 additions & 0 deletions
File tree
- .maestro/enrichedInput
- flows
- screenshots
- android
- ios
- android/src/main/java/com/swmansion/enriched/textinput/styles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
227 | 238 | | |
228 | 239 | | |
229 | 240 | | |
| |||
0 commit comments