Skip to content

Commit

Permalink
Merge pull request #1807 from Mahmoud-zino/bugfix/remove-blur-from-fo…
Browse files Browse the repository at this point in the history
…rm-material

bugfix/remove-blur-from-form-material
  • Loading branch information
endigo9740 committed Aug 1, 2023
2 parents f65811e + 0eb1fc1 commit 8232cd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/lucky-roses-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: Removed `backdrop-blur` from `variant-form-material` because of high CPU usage on some browsers.
4 changes: 2 additions & 2 deletions packages/skeleton/src/lib/styles/elements/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@
@apply bg-surface-500/10 dark:bg-surface-500/20;
/* Border */
@apply border-0 border-b-2;
/* Blur */
@apply backdrop-blur;
/* Blur / high CPU usage on some browsers, see https://github.com/skeletonlabs/skeleton/issues/1805 */
/* @apply backdrop-blur; */
}
.variant-form-material[type='file'] {
@apply !py-1.5;
Expand Down

0 comments on commit 8232cd3

Please sign in to comment.