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

Default web clipboard status to pasteable and don't make clipboard status checks on web. (fixes #1567) #1721

Closed

Conversation

mtallenca
Copy link
Contributor

Description

With Safari 17.2.1 on Desktop and iOS 17 Safari - performing Clipboard status checks causes a "Paste" menu to be displayed and stops user input. The status checks were initialized by ClipboardStatusNotifier when a default value of "unknown" was used in it's constructor as well as each time the editor content changed. This PR gives the web a default value of ClipboardStatus.pasteable and doesn't force update calls when content change on web.

Related Issues

Suggestions

Cut/Copy/Paste with keyboard shortcuts work on web, but right click menu items cut/copy/paste do not work correctly. This PR does not address this existing issue.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • [ x] No, this is not a breaking change.

@mtallenca
Copy link
Contributor Author

Example builds on iPhone / Web didn't change anything w/example or Linux

@singerdmx
Copy link
Owner

@mtallenca Please resolve conflict

@mtallenca mtallenca closed this Feb 6, 2024
@mtallenca mtallenca force-pushed the fix_safari_clipboard_bug branch from 1052bfa to 5d9dc10 Compare February 6, 2024 05:12
@EchoEllet
Copy link
Collaborator

This PR change nothing?

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.

Editor for web app keeps showing "paste" dialog everytime in a read only content page from IOS web browser
3 participants