PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
20.39k stars 1.21k forks source link

Not all browsers support navigator.clipboard.writeText #16059

Open pauldambra opened 1 year ago

pauldambra commented 1 year ago

Is your feature request related to a problem?

see https://stackoverflow.com/a/30810322 and private zendesk thread https://posthoghelp.zendesk.com/agent/tickets/3453

Not all browsers support navigator.clipboard.writeText which we use for copying e.g. sharing links to the clipboard.

For example duck duck go browser on Android

Describe the solution you'd like

Fallback to other methods as listed in the linked stack overflow post

Describe alternatives you've considered

Having a good error state and apology for lack of support to users on those browsers

Additional context

Thank you for your feature request – we love each and every one!

barisunsalhn commented 1 year ago

Could you assign me sir?

pauldambra commented 1 year ago

Hey @lapaz17,

We don't assign issues/PRs outside of PostHog staff - although we welcome pull requests from all 🚀