codesandbox / codesandbox/codesandbox-client

Dependencies search input loses current search text on resizing

Open
#7,542 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

As a user when I add any dependency in search text under Dependencies tab, it loses its current search text.

Steps to reproduce -

Enter jest(for example) and add it.
Start typing some other text and resize.
The text will reset to 'jest'.

Ideally it should retain the current search text ! Resize somewhere resetting the state of the search text box.

Link - https://codesandbox.io/s/restless-bird-nu1iee?file=/package.json

Your Environment
Software Name/Version
Сodesandbox
Chrome 111.0.5563.111
Operating System Windows 10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the linked CodeSandbox by using the Dependencies tab, adding jest, typing another search, and resizing. Trace the resize-related state handling for the dependency search input; done means resizing no longer replaces the current search text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.