Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

React useEffect hook causes DOMException: User activation is required to request permissions

I have a React useEffect hook that will read local files previously approved by the user. To read the files, it uses the [FileSystemHandle.queryPermission()][1] method, which if not granted will ...
James Gentes's user avatar
  • 8,156