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

Fixed issue with duplicate native browser functions. #1920

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

tonyanziano
Copy link
Contributor

In #1893 I implemented functionality for native browser functions (cut, copy, paste, etc.) that were already functional inside of Chrome.

The implemented functionality didn't eat or stop the original event's native behavior, so actions like cut, copy, paste, were being fired twice instead of a single time. This was problematic when pasting credentials into the Open Bot dialog because they were duplicated if pasted into inputs with Ctrl+V, and thus were wrong when sent to the server.

Ex: myPassword --> Ctrl + V --> myPasswordmyPassword

I removed my implementation and will just leave the functionality up to the browser.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 66.892% when pulling 4147655 on toanzian/shortcut-fix into 3cd3fcf on master.

Copy link
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder why we had these functions in-place. 😕

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.

3 participants