[Bug] 在firefox和safari, 使用复制功能报错
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.17.3
Link to Minimal Reproduction
https://visactor.io/vtable/demo/interaction/copy-paste-cell-value
Steps to Reproduce
在firefox和safari访问,拉选复制,报错
主要是这行代码:navigator.permissions.query({ name: 'clipboard-write' as PermissionName })
clipboard-write 在这两个浏览器不存在
Current Behavior
报错
Expected Behavior
复制成功
Environment
firefix: 136.0.3 (aarch64)
safari: 18.3 (20620.2.4.11.5)
os: mac 15.3.1
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the codebase for navigator.permissions.query and the clipboard-write permission handling used by the copy interaction. Reproduce the issue from the linked copy-paste-cell-value demo in Firefox and Safari, then verify that selecting and copying a cell succeeds without the permission error in both browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100