@rdlabo/ionic-theme-ios26 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,6 +133,7 @@ export const registerEffect = (targetElement, effectTagName, selectedClassName,
133
133
  clearTimeout(clearActivatedTimer);
134
134
  clearActivatedTimer = undefined;
135
135
  }
136
+ clearActivated();
136
137
  if (startAnimationPromise) {
137
138
  await startAnimationPromise;
138
139
  }
@@ -149,7 +150,6 @@ export const registerEffect = (targetElement, effectTagName, selectedClassName,
149
150
  });
150
151
  await getScaleAnimation(effectElement).duration(120).to('transform', `scale(1, 0.92)`).play();
151
152
  moveAnimation.destroy();
152
- clearActivated();
153
153
  return true;
154
154
  };
155
155
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-theme-ios26",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "iOS26 Theme for Ionic Framework",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -161,6 +161,8 @@ export const registerEffect = (
161
161
  clearActivatedTimer = undefined;
162
162
  }
163
163
 
164
+ clearActivated();
165
+
164
166
  if (startAnimationPromise) {
165
167
  await startAnimationPromise;
166
168
  }
@@ -179,8 +181,6 @@ export const registerEffect = (
179
181
  });
180
182
  await getScaleAnimation(effectElement).duration(120).to('transform', `scale(1, 0.92)`).play();
181
183
  moveAnimation!.destroy();
182
-
183
- clearActivated();
184
184
  return true;
185
185
  };
186
186