diff --git a/docs/src/pages/components/ExpandableTile.svx b/docs/src/pages/components/ExpandableTile.svx index 680cac9d..56be8c24 100644 --- a/docs/src/pages/components/ExpandableTile.svx +++ b/docs/src/pages/components/ExpandableTile.svx @@ -3,7 +3,7 @@ source: Tile/ExpandableTile.svelte --- @@ -33,4 +33,24 @@ source: Tile/ExpandableTile.svelte Above the fold content here Below the fold content here - \ No newline at end of file + + +## With interactive content + +For tiles containing interactive content, use `stopPropagation` to prevent the tile from toggling. + + + + console.log("Hello world")}> + Native element + + + { + e.stopPropagation(); + console.log("Hello world"); + }}> + Svelte component + + + Below the fold content here +