@codesuma/baseline 1.0.10 → 1.0.11

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.
@@ -23,7 +23,13 @@ export const Page = () => {
23
23
  base.removeClass(styles.hiddenAbove)
24
24
  }
25
25
 
26
+ // Force reflow so browser registers the starting position
27
+ // This is critical for the first transition to be smooth
28
+ void base.el.offsetHeight
29
+
30
+ // Visual delay before entering
26
31
  await waitFor(200)
32
+
27
33
  // Clear all state classes
28
34
  base.removeClass(
29
35
  styles.exitUp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesuma/baseline",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "A minimal, imperative UI framework for building fast web apps. No virtual DOM, no magic, no dependencies.",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",