Skip to content

Commit

Permalink
fix: modal route not working + naming qwikifiers#2
Browse files Browse the repository at this point in the history
  • Loading branch information
maiieul committed Oct 2, 2024
1 parent 84b74db commit 1a33205
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/website/src/routes/docs/headless/popover/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ title: Qwik UI | Popover
---

import { statusByComponent } from '~/_state/component-statuses';
import Styles from './examples/styles';

<StatusBanner status={statusByComponent.headless.Popover} />

import Styles from './examples/styles';

# Popover

Expand Down Expand Up @@ -306,7 +306,7 @@ There are two main types of animations that can be applied to popovers in Qwik U

To handle animations across all browsers, Qwik UI uses both keyframes and transitions, leveraging the native `:popover-open` pseudo-class and ensuring smooth state transitions with `transition-behavior: allow-discrete`.

<BrowserAnimationCompatability />
<BrowserAnimationsCompatability />

### Keyframe Animation Example

Expand All @@ -320,7 +320,7 @@ CSS transitions are useful for animating properties like opacity and scale over

<Showcase name="transition" />

<ImportantAnimationCaveats />
<TopLayerAnimationsCaveats />

By using keyframe animations and CSS transitions together, we can achieve smooth entry and exit effects for popovers. Keyframes like `popover-grow` and `popover-shrink` handle scaling and visibility, while transitions focus on gradual changes to properties like `opacity`. Remember to include `display` and `overlay` in your transition properties and use `transition-behavior: allow-discrete` to ensure smooth animations across all browsers.

Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/routes/docs/headless/tooltip/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Transitions are ideal for animating properties like opacity and scale for smooth

Here, transitions handle smooth opacity and scale changes. The `transition-behavior: allow-discrete` ensures that `display` and `overlay` animate properly.

<ImportantAnimationCaveats />
<TopLayerAnimationsCaveats />

## Events

Expand Down

0 comments on commit 1a33205

Please sign in to comment.