Skip to content

Commit

Permalink
fix(docs): mention data-webview-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Sep 1, 2024
1 parent 08c18a1 commit 2eb0e15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/frameless.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,8 @@ window_edge:
```

The `data-webview-resize` attirbute should use the short-form of the given edges, e.g. _top-left_ as `tl`.

:::tip
Should an element trigger a move / resize when it shouldn't _(this can happen if the given element is a child of a parent with special attributes)_, you can give it the `data-webview-ignore` attribute.
This will prevent clicks on this element from triggering any move or resize.
:::

0 comments on commit 2eb0e15

Please sign in to comment.