Closed charles-liang closed 3 months ago
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
I have read the CLA Document and I hereby sign the CLA
There's a problem here - the diacritic inside a bold
block doesn't work (video below)
@BartoszGrajdek I have added a condition to fix it. Are there any test cases you can share with me for testing together? In order to reducing the cost of communication?
@charles-liang Can you please add screenshots of your tests in PR body?
@charles-liang Can you please add screenshots of your tests in PR body?
Ok, I will add it today.
@sobitneupane Already added the test of the original issue and the test case your comment mentioned
- Navigate to staging.new.expensify.com
- Click on FAB > Submit expense > Manual
- Input an amount
- Select a user
- Click on "Description" "The system keyboard must be set to predictive text mode, or what's called autocomplete mode. Just type a few characters."
- Click save when the system's predictive text is active.
@charles-liang https://github.com/Expensify/App/issues/40799 issue arrises specifically when single character is the input. Can you please update your Test Steps and ScreenRecording to reflect that.
@sobitneupane I have already updated the test video to include the content what requested.
Sorry, I was on sick leave last week. I'll take a look today 👀
@charles-liang It seems there might have been an issue while resolving the conflict. Could you please take another look at the code and address the problem? Thanks!
You probably had merge conflict with this PR.
@charles-liang I tried to resolve the conflict and test it in my end. But it doesn't solve the issue. In fact it introduces a new problem: when I go to any chat in mWeb/chrome and start typing, no letters are displayed on the Composer.
@sobitneupane i merge to latest main branch and retest it.
@charles-liang I replaced the react-native-live-markdown in node-modules with the one from the PR (after yarn prepare
), but I can still reproduce the issue.
Hi! Not sure if you want me to review the PR yet since it's still being worked on. Let me know what's the status of it 👀 @sobitneupane
@BartoszGrajdek I will review it in my end first and will let you know .
We think this might be already fixed in E/App so we're waiting for re-tests of the app.
We can close this PR. The issue linked with the PR is no longer reproducible.
@sobitneupane @BartoszGrajdek
Details
This PR avoid the incorrect behavior of the keyboard during auto-complete on Android mWeb. The main changes are: Add a condition, when the startComposition event trigger, whether the type of text change is 'insertCompositionText'. If confirmed, then execute the logic of Composition.
Related Issues
Issues IOU - one character descriptions are not saved Proposal
Manual Tests
On Android mWeb
Linked PRs
Tested
https://github.com/Expensify/react-native-live-markdown/assets/13301734/c13b79ec-e01e-4088-935f-038291ffd83e
https://github.com/Expensify/react-native-live-markdown/assets/13301734/dc1d3f1d-b718-4945-b2df-40538392f200