Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ReorderableList): avoid mutating props #109

Merged
merged 4 commits into from
Jun 27, 2024

Conversation

RedHatter
Copy link
Contributor

The native Array.prototype.sort used in ReorderableList sorts in place resulting in the props being mutated. This PR copies the array before call sort.

I experienced some odd behavior where the list order was unstable while reordering however it has proven difficult to reproduce. I don't know for sure but this issue seems like a likely culprit. This is a good change either way.

AAGaming00 and others added 3 commits June 21, 2024 11:48
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@AAGaming00 AAGaming00 changed the base branch from main to v4-dev June 27, 2024 03:12
@AAGaming00 AAGaming00 merged commit bd1dc85 into SteamDeckHomebrew:v4-dev Jun 27, 2024
1 check passed
Copy link

🎉 This PR is included in version 4.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants