Skip to content

Commit 672e93c

Browse files
authored
Remove z-index: 1 because it is no longer necessary (#217)
1 parent c96a340 commit 672e93c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 3.4.0
2+
3+
### Features
4+
5+
- 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)
6+
17
## 3.3.1
28

39
### Bug Fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-loading-skeleton",
3-
"version": "3.3.1",
3+
"version": "3.4.0",
44
"description": "Make beautiful, animated loading skeletons that automatically adapt to your app.",
55
"keywords": [
66
"react",

src/skeleton.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
position: relative;
2222
user-select: none;
2323
overflow: hidden;
24-
z-index: 1; /* Necessary for overflow: hidden to work correctly in Safari */
2524
}
2625

2726
.react-loading-skeleton::after {

0 commit comments

Comments
 (0)