Skip to content

Commit

Permalink
fix: popover no animation (#3392)
Browse files Browse the repository at this point in the history
* fix: popover no animation

* refactor: recreated screenshots

* refactor: recreated screenshots

---------

Co-authored-by: Maximilian Franzke <[email protected]>
Co-authored-by: Maximilian <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2024
1 parent 59e1810 commit 1507399
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/components/src/styles/_popover-component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ $popover-gap-inset: calc(-1 * #{$popover-gap-size});
@mixin get-popover-show() {
&[data-animation="disabled"] {
opacity: 1;
transform: translate(
var(--db-popover-center-x, 0),
var(--db-popover-center-y, 0)
);
}

@media screen and (prefers-reduced-motion: no-preference) {
Expand Down

0 comments on commit 1507399

Please sign in to comment.