diff --git a/packages/webawesome/docs/docs/components/popup.md b/packages/webawesome/docs/docs/components/popup.md index 5b65c9cbf..d6fa4a4df 100644 --- a/packages/webawesome/docs/docs/components/popup.md +++ b/packages/webawesome/docs/docs/components/popup.md @@ -416,6 +416,8 @@ By default, the arrow will be aligned as close to the center of the _anchor_ as ``` +{# TODO: this example totally destroys browsers. Needs investigation. + ### Syncing with the Anchor's Dimensions 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 sync.addEventListener('change', () => (popup.sync = sync.value)); ``` +#} ### Flip @@ -848,4 +851,4 @@ This example anchors a popup to the mouse cursor using a virtual element. As suc 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. - `show` / `hide` - Shows or hides the popover with a fade -- `show-with-scale` / `hide-with-scale` - Shows or hides the popover with a fade and subtle scale effect +- `show-with-scale` / `hide-with-scale` - Shows or hides the popover with a fade and subtle scale effect \ No newline at end of file