Skip to content

Commit

Permalink
Remove z-index: 1 because it is no longer necessary (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
srmagura authored Jan 29, 2024
1 parent c96a340 commit 672e93c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.4.0

### Features

- Remove `z-index: 1` from the skeleton. This was a Safari-specific workaround that is no longer necessary in the latest versions of the browser. (#216)

## 3.3.1

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-loading-skeleton",
"version": "3.3.1",
"version": "3.4.0",
"description": "Make beautiful, animated loading skeletons that automatically adapt to your app.",
"keywords": [
"react",
Expand Down
1 change: 0 additions & 1 deletion src/skeleton.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
position: relative;
user-select: none;
overflow: hidden;
z-index: 1; /* Necessary for overflow: hidden to work correctly in Safari */
}

.react-loading-skeleton::after {
Expand Down

0 comments on commit 672e93c

Please sign in to comment.