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

Enhanced copy to clipboard JS #3020

Closed

Conversation

robertmuehsig
Copy link
Contributor

The current implementation (from this PR #2999) uses a strange parent element, which is kinda awkward, but was needed otherwise the browser would focus and might scroll to this temp element.

I found a "cleaner" solution, which works cross browsers. The "detectIE" method is still needed, because during the permission dialog the textarea will be visble, so we treat IE a bit differently.

Nothing fancy, just to clean things up.

@maartenba maartenba mentioned this pull request May 12, 2016
6 tasks
@maartenba
Copy link
Contributor

Thanks @robertmuehsig - merged into dev.

@maartenba maartenba closed this May 12, 2016
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