Wiki Page Git Repository URL Copy Function Shows Success But Fails to Copy
Description
On project Wiki pages:
- Click the "Clone repository" button in the top-right menu
- Click the copy icon next to the repository URL
- System shows "Copied" notification
- Actual paste operation shows clipboard wasn't updated
Steps to Reproduce
- Navigate to any project's Wiki page
- Click "Clone repository" in the top-right menu
- Click the copy icon next to HTTP/SSH URL
- Attempt to paste elsewhere
Expected Behavior
Clipboard should contain the repository URL
Actual Behavior
Clipboard content remains unchanged (Tested on Chrome 140)
Additional Information
- No errors in browser console
- Manual text selection and copy works normally
- Reproducible on both SaaS and self-managed instances (including v18.3.1)
Environment
- GitLab SaaS (gitlab.com)
- Self-managed v18.3.1
Edited by 🤖 GitLab Bot 🤖