mirror of
https://github.com/alexfoxy/lax.js.git
synced 2026-04-24 03:01:10 -04:00
Fixed issue with chrome scroll bug with position fixed
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 Alex Fox
|
||||
Copyright (c) 2020 Alex Fox
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -38,6 +38,5 @@
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div class="square lax lax_preset_spin-400-360 lax_preset_flipX">
|
||||
</div>
|
||||
<div class="square lax lax_preset_spin-400-360 lax_preset_flipX"></div>
|
||||
</body>
|
||||
@@ -294,9 +294,9 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
filter: ''
|
||||
};
|
||||
var translate3dValues = {
|
||||
translateX: 0,
|
||||
translateY: 0,
|
||||
translateZ: 0
|
||||
translateX: 0.00001,
|
||||
translateY: 0.00001,
|
||||
translateZ: 0.00001
|
||||
};
|
||||
Object.keys(styles).forEach(function (key) {
|
||||
var val = styles[key];
|
||||
|
||||
2
lib/lax.min.js
vendored
2
lib/lax.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
11
package.json
11
package.json
@@ -7,9 +7,11 @@
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.12.1",
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/preset-env": "^7.12.1"
|
||||
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"uglify-js": "^3.9.4"
|
||||
},
|
||||
"description": "Simple & light weight (4kb minified & zipped) vanilla javascript plugin to create smooth & beautiful animations when you scrolllll! Harness the power of the most intuitive interaction and make your websites come alive!",
|
||||
"description": "Simple & lightweight (<4kb gzipped) vanilla JavaScript plugin to create smooth & beautiful animations when you scrolllll! Harness the power of the most intuitive interaction and make your websites come alive!",
|
||||
"license": "MIT",
|
||||
"author": "alexfoxy@gmail.com",
|
||||
"repository": {
|
||||
@@ -26,8 +28,5 @@
|
||||
"css",
|
||||
"html"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
||||
"uglify-js": "^3.9.4"
|
||||
}
|
||||
"dependencies": {}
|
||||
}
|
||||
@@ -242,9 +242,9 @@
|
||||
}
|
||||
|
||||
const translate3dValues = {
|
||||
translateX: 0,
|
||||
translateY: 0,
|
||||
translateZ: 0
|
||||
translateX: 0.00001,
|
||||
translateY: 0.00001,
|
||||
translateZ: 0.00001
|
||||
}
|
||||
|
||||
Object.keys(styles).forEach((key) => {
|
||||
|
||||
Reference in New Issue
Block a user