Commit Graph
6 Commits
Author SHA1 Message Date
Christoph 29e3136473 fix: Don't apply layout hack in Firefox Mobile while editing text (#5531)
This fixes the following bug in Firefox Mobile on Android:

**Steps to reproduce:**

1. Swipe a word into the chat input edit field in Firefox Mobile on Android, for examples "Test".
2. In GBoard (default Android keyboard), tap on a different suggestion, for examples "Rest".

**Expected behavior:** The word "Test" is replaced with "Rest".

**Actual behavior:** The word becomes "TestRest".

I confirmed with bisecting that the commit f897a4ab1a introduced the issue.

This change fixes the issue by disabling the layout hack while editing text.
Disabling the layout hack is limited to Firefox Mobile because

* I could not reproduce the bug in Chrome on Android
* This way, if it causes a new bug, only Firefox Mobile users are affected
2026-04-25 19:56:52 +03:00
Cohee 9c379125be [chore] Add JSDoc 2024-10-18 19:46:37 +03:00
Cohee 80f91d129e Firefox: fix copy from edit textarea 2024-10-18 12:54:26 +00:00
maver 82570ef31d Remove textnode checks before applying firefox double double qutoes fix 2024-10-17 18:55:17 +00:00
Cohee f897a4ab1a Merge with browser fixes from RossMods 2024-10-17 21:25:50 +03:00
maver 34ff8e239f Fix double double quotes when copying chat message text in Firefox 2024-10-17 14:14:24 +02:00