Skip to content

Conversation

muan
Copy link
Contributor

@muan muan commented Nov 5, 2019

Fixes #15.

Upon closer inspection I noticed that for attribute is only not working in iOS when it's pointing to a textarea.

Instead of trying to fulfill the non-spec (potentially changing) requirements listed in the stackoverflow answers, I think we should just not rely on copying from <input> when we have methods for copying text from a new node.

Manually tested in:

  • iOS 13.2
  • Android 9/Chrome latest via BrowserStack
  • Opera, Firefox latest on Windows 10 via BrowserStack
  • Firefox/Safari/Chrome latest on macOS

muan added 2 commits November 5, 2019 15:55
we don't have to maintain multiple ways of copying string
@muan muan requested a review from a team November 5, 2019 21:06
Copy link
Contributor

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

LGTM 👍 no point supporting something that doesn't work across all browsers properly.

@muan muan merged commit f9a4833 into master Nov 6, 2019
@muan muan deleted the input branch November 6, 2019 18:29
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.

for not copying on iOS
3 participants