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 undoing pasted text into the input #266

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

BartoszGrajdek
Copy link
Collaborator

@BartoszGrajdek BartoszGrajdek commented Apr 5, 2024

Details

This issue fixes a situation where the initial value of the input doesn't get saved into InputHistory, because of this it's not possible to undo the previous action

Related Issues

GH_LINK

Manual Tests

To test this remove the default value provided for our example.

  1. Copy some longer text
  2. Paste this text into input
  3. Try to undo it with CMD + Z

Linked PRs

@BartoszGrajdek BartoszGrajdek marked this pull request as ready for review April 8, 2024 07:52
@BartoszGrajdek BartoszGrajdek requested a review from Skalakid April 8, 2024 07:52
@BartoszGrajdek BartoszGrajdek merged commit d154993 into main Apr 8, 2024
2 checks passed
@BartoszGrajdek BartoszGrajdek deleted the @BartoszGrajdek/fix-undo-in-empty-input branch April 8, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants