Skip to content

Commit

Permalink
docs: Add missing info regarding the drop position offset. (tauri-app…
Browse files Browse the repository at this point in the history
…s#11406)

* Add missing document regarding the drop position offset.

* Update webview.ts

---------

Co-authored-by: Fabian-Lars <[email protected]>
  • Loading branch information
shi-yan and FabianLars authored Dec 2, 2024
1 parent 983634a commit 0e2f0b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/api/src/webview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,9 @@ class Webview {
* unlisten();
* ```
*
* When the debugger panel is open, the drop position of this event may be inaccurate due to a known limitation.
* To retrieve the correct drop position, please detach the debugger.
*
* @returns A promise resolving to a function to unlisten to the event.
* Note that removing the listener is required if your listener goes out of scope e.g. the component is unmounted.
*/
Expand Down

0 comments on commit 0e2f0b2

Please sign in to comment.