Skip to content

Commit

Permalink
add css hardware acceleration triggers to some components
Browse files Browse the repository at this point in the history
  • Loading branch information
aheinze committed Jun 6, 2023
1 parent 2f4d9f0 commit eb14808
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Populate only allowed models in content api
- Fix possible content `models` permission naming collision
- Fix internal content find/populate api exposing data to users without required rights
- Fix empty settings screen

## 2.5.2 (2023-05-18)

Expand Down
14 changes: 11 additions & 3 deletions modules/App/assets/app.bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -2654,6 +2654,8 @@ kiss-dialog {
opacity: 0;
pointer-events: none;
overflow-y: auto;
transform: translateZ(0);
will-change: opacity;
z-index: 1000;
}
kiss-dialog > kiss-content {
Expand All @@ -2672,6 +2674,8 @@ kiss-dialog > kiss-content {
width: var(--kiss-dialog-width, 350px);
max-width: calc(100% - 0.01px) !important;

transform: translateZ(0);

box-sizing: border-box;
}
kiss-dialog[size="medium"] > kiss-content {
Expand Down Expand Up @@ -2803,6 +2807,8 @@ kiss-offcanvas {
opacity: 0;
pointer-events: none;
z-index: 1000;
transform: translateZ(0);
will-change: opacity;
transition: opacity 0.3s ease-in-out;
}
kiss-offcanvas > kiss-content {
Expand All @@ -2814,19 +2820,19 @@ kiss-offcanvas > kiss-content {
min-width: 300px;
overflow-y: auto;
box-sizing: border-box;
transform: translateX(-100%);
transform: translateX(-100%) translateZ(0);
transition: transform 0.3s ease-in-out;
}
kiss-offcanvas[flip="true"] > kiss-content {
right: 0;
transform: translateX(100%);
transform: translateX(100%) translateZ(0);
}
kiss-offcanvas[open] {
opacity: 1;
pointer-events: auto;
}
kiss-offcanvas[open] > kiss-content {
transform: translateX(0);
transform: translateX(0) translateZ(0);
}
kiss-popout {
display: flex;
Expand All @@ -2842,6 +2848,8 @@ kiss-popout {
opacity: 0;
pointer-events: none;
overflow-y: auto;
transform: translateZ(0);
will-change: opacity;
z-index: 10000;
transition: opacity .3s;
}
Expand Down
4 changes: 4 additions & 0 deletions modules/App/assets/vendor/kiss/components/dialog/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ kiss-dialog {
opacity: 0;
pointer-events: none;
overflow-y: auto;
transform: translateZ(0);
will-change: opacity;
z-index: 1000;
}

Expand All @@ -31,6 +33,8 @@ kiss-dialog > kiss-content {
width: var(--kiss-dialog-width, 350px);
max-width: calc(100% - 0.01px) !important;

transform: translateZ(0);

box-sizing: border-box;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ kiss-offcanvas {
opacity: 0;
pointer-events: none;
z-index: 1000;
transform: translateZ(0);
will-change: opacity;
transition: opacity 0.3s ease-in-out;
}

Expand All @@ -22,13 +24,13 @@ kiss-offcanvas > kiss-content {
min-width: 300px;
overflow-y: auto;
box-sizing: border-box;
transform: translateX(-100%);
transform: translateX(-100%) translateZ(0);
transition: transform 0.3s ease-in-out;
}

kiss-offcanvas[flip="true"] > kiss-content {
right: 0;
transform: translateX(100%);
transform: translateX(100%) translateZ(0);
}

kiss-offcanvas[open] {
Expand All @@ -37,5 +39,5 @@ kiss-offcanvas[open] {
}

kiss-offcanvas[open] > kiss-content {
transform: translateX(0);
transform: translateX(0) translateZ(0);
}
2 changes: 2 additions & 0 deletions modules/App/assets/vendor/kiss/components/popout/popout.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ kiss-popout {
opacity: 0;
pointer-events: none;
overflow-y: auto;
transform: translateZ(0);
will-change: opacity;
z-index: 10000;
transition: opacity .3s;
}
Expand Down

0 comments on commit eb14808

Please sign in to comment.