Skip to content

Commit c8c0d0f

Browse files
authored
disable runaway popup example (#1097)
1 parent e8687b8 commit c8c0d0f

File tree

1 file changed

+4
-1
lines changed
  • packages/webawesome/docs/docs/components

1 file changed

+4
-1
lines changed

packages/webawesome/docs/docs/components/popup.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ By default, the arrow will be aligned as close to the center of the _anchor_ as
416416
</div>
417417
```
418418

419+
{# TODO: this example totally destroys browsers. Needs investigation.
420+
419421
### Syncing with the Anchor's Dimensions
420422

421423
Use the `sync` attribute to make the popup the same width or height as the anchor element. This is useful for controls that need the popup to stay the same width or height as the trigger.
@@ -467,6 +469,7 @@ Use the `sync` attribute to make the popup the same width or height as the ancho
467469
sync.addEventListener('change', () => (popup.sync = sync.value));
468470
</script>
469471
```
472+
#}
470473

471474
### Flip
472475

@@ -848,4 +851,4 @@ This example anchors a popup to the mouse cursor using a virtual element. As suc
848851
The following classes can be applied to the popup's `popup` part to animate it in or out programmatically. You can control the animation duration with the `--show-duration` and `--hide-duration` custom properties.
849852

850853
- `show` / `hide` - Shows or hides the popover with a fade
851-
- `show-with-scale` / `hide-with-scale` - Shows or hides the popover with a fade and subtle scale effect
854+
- `show-with-scale` / `hide-with-scale` - Shows or hides the popover with a fade and subtle scale effect

0 commit comments

Comments
 (0)