intitni / intitni/CopilotForXcode

[Bug]: Unable to use Apple Pay in Safari when Copilot is running

Open
#508 2 comments 1 reaction 1 assignee Claimed by @intitni View on GitHub
bug help wanted
Dominant language
Swift
Stars
8.2k
Forks
427
PR merge metrics
No merged PRs in 30d

Description

### Before Reporting

- [X] I have checked FAQ, and there is no solution to my issue
- [X] I have searched the existing issues, and there is no existing issue for my issue

### What happened?

I found out that Copilot interferes with Apple Pay confirmation sheet in Safari. Touch ID input (or password input if Touch ID is disabled) disappears from the view, making it impossible to complete the payment. Quitting Copilot solves the issue immediately.

When I was trying to understand why it happens, I found out that Touch ID input disappears if the Apple Pay sheet is in any way obscured by another window or screen boundary - you can see this happening in the attached video.

Google Drive link to video (even downscaled was to big to fit as attachment on Github): https://drive.google.com/file/d/18a7UAO28YXAwfzZaqztZZq5I2CAkZW64/view?usp=sharing

### How to reproduce the bug.

Open a website with Apple Pay functionality (https://applepaydemo.apple.com is great for debugging this), and try to complete the payment while Copilot and Xcode are running.

Please do note that while the issue occurs often, it doesn't occur always. Sometimes Touch ID input is visible despite Copilot and Xcode running in the background. I did not find specific pattern that triggers the issue, but it shouldn't be hard to reproduce though.

### Relevant log output

_No response_

### macOS version

14.4.1 (23E224)

### Xcode version

15.3 (15E204a)

### Copilot for Xcode version

0.32.3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.