Mouse input completely disabled in Password AutoFill App Extension in Safari

Hi,

We are receiving complaints from some users about our Password AutoFill component on macOS. The issue usually presents itself after some time, but it's pretty severe.

When a user chooses our App to AutoFill their passwords, usually in Safari, we present a sheet allowing them to search from and choose a particular credential to fill. This works pretty well most of the time.

However, after continued use, users report that they can no longer interact with the sheet using the mouse. Keyboard events seem to be fine, they can navigate using the up and down keys, but any clicks are just not registered.

We've asked users to look in the console and let us know if they see anything strange. We've got a report back that Console is filled with:


invalid display identifier <private>

Also, it's speculative but all reports appear to be users using a second external display and it may possibly be related to the Mac going to sleep and the issue occurs after waking up.

The solution for our users is to terminate Safari, upon restart the issue is resolved until the next time it begins, sometime later.

Is there anything we can do, have you heard of an issue like this before, what could possibly block mouse events after a long period of time? Is this an App Extension issue, a Safari issue, a presenting a Sheet from an App Extension inside Safari issue?

Any help appreciated.