Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
f5fb681802
|
|||
|
39acbac0f1
|
|||
|
70991f6769
|
940
.yarn/releases/yarn-4.14.1.cjs
vendored
Executable file
940
.yarn/releases/yarn-4.14.1.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
942
.yarn/releases/yarn-4.9.4.cjs
vendored
942
.yarn/releases/yarn-4.9.4.cjs
vendored
File diff suppressed because one or more lines are too long
@@ -1,5 +1,3 @@
|
||||
compressionLevel: mixed
|
||||
|
||||
enableGlobalCache: false
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.9.4.cjs
|
||||
yarnPath: .yarn/releases/yarn-4.14.1.cjs
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
## v7.0.1
|
||||
|
||||
- Исправление работы анимации
|
||||
|
||||
## v7.0.0
|
||||
|
||||
- Изменено значение по умолчанию для параметра `trigger`
|
||||
|
||||
2
index.js
2
index.js
@@ -312,7 +312,6 @@ export const createTooltip = ($el, content, options) => {
|
||||
}
|
||||
|
||||
try {
|
||||
$el._tooltip._currentAnimation?.cancel();
|
||||
const animation = $el._tooltip.$tooltip.querySelector('.tooltip__root').animate(options.animation[0], {
|
||||
duration: immediately ? 0 : options.duration[0],
|
||||
easing: options.easing[0],
|
||||
@@ -345,7 +344,6 @@ export const createTooltip = ($el, content, options) => {
|
||||
document.body.removeEventListener('click', $el._tooltip.hideOnClickListener);
|
||||
|
||||
try {
|
||||
$el._tooltip._currentAnimation?.cancel();
|
||||
const animation = $el._tooltip.$tooltip.querySelector('.tooltip__root').animate(options.animation[1], {
|
||||
duration: immediately ? 0 : options.duration[1],
|
||||
easing: options.easing[1],
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "@advdominion/tooltip",
|
||||
"version": "7.0.0",
|
||||
"version": "7.0.1",
|
||||
"type": "module",
|
||||
"packageManager": "yarn@4.9.4",
|
||||
"packageManager": "yarn@4.14.1",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user