Change8
Error1 reports

Fix NotAllowedError

in Ruff

Solution

The "NotAllowedError" often arises when attempting to interact with the clipboard (copy/paste) outside of a user-initiated event handler (like a button click). To fix, ensure clipboard operations are directly triggered by user actions within the appropriate event listener. If using asynchronous functions, carefully manage promises and ensure the clipboard interaction happens before the event flow is interrupted.

Timeline

First reported:Nov 29, 2025
Last reported:Nov 29, 2025

Need More Help?

View the full changelog and migration guides for Ruff

View Ruff Changelog