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

Text is pasted twice #1657

Closed
nitzan-shaked opened this issue Jan 24, 2023 · 3 comments · Fixed by #1660
Closed

Text is pasted twice #1657

nitzan-shaked opened this issue Jan 24, 2023 · 3 comments · Fixed by #1660
Labels
bug Something isn't working Task

Comments

@nitzan-shaked
Copy link
Contributor

I suspect this has to do with events.Paste now bubbling? Not sure, but either way text gets pasted twice into Input widgets.
Adding event.stop() at the bottom of Input.on_paste solves this.

I can't be the only one, right?...

@github-actions
Copy link

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

@davep davep added bug Something isn't working Task labels Jan 24, 2023
@davep
Copy link
Contributor

davep commented Jan 24, 2023

Good catch!

davep added a commit to davep/textual that referenced this issue Jan 24, 2023
@davep davep linked a pull request Jan 24, 2023 that will close this issue
@github-actions
Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants