Skip to content

Commit 5bb57bf

Browse files
chore: improve public sample
1 parent 5161217 commit 5bb57bf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/website/docs/_components_pages/main/Popover.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ Note: if there is not enough space for the popup on the defined side, it will op
2222
<Placement />
2323

2424
### Resizable
25+
The Resizable sample demonstrates how the Popover component can be resized by dragging its edges.
26+
This allows users to adjust the popup's width and height interactively, providing greater flexibility for content display.
27+
2528
<Resizable />

packages/website/docs/_samples/main/Popover/Resizable/sample.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
<ui5-button id="popoverOpener">Open Popover</ui5-button>
1515

16-
<ui5-dialog id="popover" opener="popoverOpener" header-text="Resizable Popover" resizable>
16+
<ui5-popover id="popover" opener="popoverOpener" header-text="Resizable Popover" resizable>
1717
<p>Resize this popover by dragging it by its resize handle.</p>
1818
<p>This feature is available only on Desktop.</p>
1919
<ui5-toolbar slot="footer">
2020
<ui5-toolbar-button class="popoverCloser" design="Emphasized" text="OK"></ui5-toolbar-button>
2121
</ui5-toolbar>
22-
</ui5-dialog>
22+
</ui5-popover>
2323
<!-- playground-fold -->
2424
<script type="module" src="main.js"></script>
2525
</body>

0 commit comments

Comments
 (0)