Kong / Kong/insomnia

The input gets stuck when typing JS code in the tests section

Open
#7,092 3 comments 0 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

When writing tests, text input feels just the same as in any text editor -- freely

### Actual Behavior

When entering js in the test section, the cursor seems to get stuck and doesn't allow you to enter a space/next characters until you press ESC

### Reproduction Steps

1. Open TESTS section
2. Start writing code `let test = 1;`

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

When I write code like `let(here I press space)`, the space doesn't get entered, instead, a suggestion box might appear saying "send: ...", and sometimes it might not appear.

![2024-02-15 152840](https://github.com/Kong/insomnia/assets/55790812/ad6d61a2-ff1c-42e9-9372-c1a406ddbb7f)

### Insomnia Version

8.6.1

### What operating system are you using?

Windows

### Operating System Version

windows 10 pro 19045.3570 22h2

### Installation method

downloaded release for win platform from repo

### Last Known Working Insomnia version

8.5.1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the TESTS section with `let test = 1;` on Windows, comparing versions 8.6.1 and 8.5.1. Trace the input and suggestion-box behavior until the affected editor entry point is identified. Done means spaces and following characters can be entered normally without pressing ESC.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.