Deleting row data and then sorting shows data again
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## Summary of the bug
Not sure if this is story-specific or a bug in our code, but when viewing the HTML elements story and deleting a row using a custom button, that row becomes visible again when a column is sorted.
## 🪜 How to reproduce
Tell us the steps to reproduce the problem:
1. Go to the HTML Elements story (with sorting enabled)
2. Delete the bottom row using a button
3. Sort the "last name" column
4. See the error
## 🧐 Expected behaviour
Ideally the row should remain gone unless refreshed. This may be a storybook issue, in which case we should update it so users don't copy an example they have to debug later.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the HTML Elements story with sorting enabled, then inspect the story's custom delete button and sorting behavior. Done means deleting the bottom row keeps it absent after sorting, without requiring a refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100