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

quick set clipboardPaste #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

quick set clipboardPaste #98

wants to merge 1 commit into from

Conversation

h2y
Copy link

@h2y h2y commented Mar 27, 2023

No description provided.

@jlesage
Copy link
Owner

jlesage commented May 16, 2023

Can you provide more details about this change ?

@h2y
Copy link
Author

h2y commented May 23, 2023

@jlesage When using the Firefox container, it is necessary to read and write the clipboard through the input box. Since there is no Chinese input method in the container, this is a frequent operation for Chinese users. When JS detects changes in the input box, it sends the content to the container. The change event is triggered only when the input box loses focus, whereas the input event can immediately trigger the event when the content changes. This greatly enhances the user experience.

@jlesage
Copy link
Owner

jlesage commented May 23, 2023

But don't you need to perform a paste operation (e.g. ctrl+v) inside the container ? This operation would trigger the focus lost event.

@h2y
Copy link
Author

h2y commented Jun 5, 2023

@jlesage By using some additional scripts, it can automatically input the text in the clipboard in the browser, so don't have to paste it manually in that case. (You can consider it as a feature built into the FF container) 😄
jlesage/docker-firefox#146 (comment)

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