[PR #2222] [MERGED] Prevent IMEs from triggering when editing a readonly code editor #3676

Closed
opened 2026-03-17 01:16:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2222
Author: @AndrewBastin
Created: 4/1/2022
Status: Merged
Merged: 4/1/2022
Merged by: @AndrewBastin

Base: mainHead: fix/cm-readonly-ime


📝 Commits (1)

  • e448b95 fix: readonly codemirror fields don't trigger IMEs

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 packages/hoppscotch-app/helpers/editor/codemirror.ts (+5 -0)

📄 Description

This small patch introduces a small update that blocks IMEs from starting composition when editing a readonly code editor instance.

This is especially useful on mobile devices where the virtual keyboard is triggered when the REST Response Body is tapped on which further reduces the screen space.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

Check IME behavior on Android and iOS and see how they react on readonly and readwrite fields.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2222 **Author:** [@AndrewBastin](https://github.com/AndrewBastin) **Created:** 4/1/2022 **Status:** ✅ Merged **Merged:** 4/1/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `fix/cm-readonly-ime` --- ### 📝 Commits (1) - [`e448b95`](https://github.com/hoppscotch/hoppscotch/commit/e448b957df2ad013177cabe737395d42c6c49303) fix: readonly codemirror fields don't trigger IMEs ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/helpers/editor/codemirror.ts` (+5 -0) </details> ### 📄 Description This small patch introduces a small update that blocks IMEs from starting composition when editing a readonly code editor instance. This is especially useful on mobile devices where the virtual keyboard is triggered when the REST Response Body is tapped on which further reduces the screen space. ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information Check IME behavior on Android and iOS and see how they react on readonly and readwrite fields. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:16:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3676
No description provided.