I have a web app that puts content on the browser clipboard:
navigator.clipboard.writeText("Name: Joe Schmo\nAddress:\t550 W. Someplace Ave\n\t\t\tAnytown\t\t\t55555\nPhone: 555-555-5555")
Recently my iPhone users have started complaining that when they paste this content it is “Full of % signs and numbers.”
When they sent me a copy of the results I could see that it has been url encoded.
Name%3A%20Joe%20Schmo%0AAddress%3A%09550%20W.%20Someplace%20Ave%0A%09%09%09Anytown%09%09%0955555%0APhone%3A%20%20555-555-5555
I suspect that I am running into a bug or undesired feature in the latest iOS or safari update and I need a workaround.
At one point looking for reasons I thought I saw a new feature for copy and pasting table data which I was wondering if I had triggered.
Here is a codepen which shows the issue:
https://codepen.io/jasonleenaylor/pen/MWLMYZq
Anyone have a workaround or solution for me?




