Kong / Kong/insomnia

Cannot paste color (hex) when changing color for environment

Open
#3,828 2 comments 3 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

**Describe the bug**
Unable to paste color into input field for environment color

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Manage environments'
2. Click on 'Color' > `Change color`
3. Change format to `hexadecimal`
4. Paste any hex color code with optional `#` (`#ffffff`, `ffffff`)
5. The field remains empty or only `#` symbol is displayed. To enter a color one has to use color picker or type it manually which sucks.

**Expected behavior**
Copy Paste should work in any input field

**Desktop (please complete the following information):**
- OS: Windows 10
- Installation Method: Installer
- App Version 2021.4.1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through Manage environments, Color, and Change color using the hexadecimal format with both #ffffff and ffffff. Confirm that pasting a hex value populates the field and preserves the expected color while checking that manual entry and the color picker still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.