Describe the bug
On the lines:
|
const clipboardItems = await clipboard.read(); |
|
value: await clipboard.readText() |
The web browser can throw NotAllowedError, This will crash avalonia in many cases.
This is related to #21530
Another potential problem
clipboard.writeText and clipboard.write can throw NotAllowedError, but nothing I've had a problem with.
To Reproduce
Set browser to "block" for the clipboard permission
Expected behavior
No response
Avalonia version
12.0.4
OS
WebAssembly
Additional context
No response
Describe the bug
On the lines:
Avalonia/src/Browser/Avalonia.Browser/webapp/modules/avalonia/input.ts
Line 129 in baa1e01
Avalonia/src/Browser/Avalonia.Browser/webapp/modules/avalonia/input.ts
Line 134 in baa1e01
The web browser can throw NotAllowedError, This will crash avalonia in many cases.
This is related to #21530
Another potential problem
clipboard.writeText and clipboard.write can throw NotAllowedError, but nothing I've had a problem with.
To Reproduce
Set browser to "block" for the clipboard permission
Expected behavior
No response
Avalonia version
12.0.4
OS
WebAssembly
Additional context
No response