Skip to content

Commit f898a2f

Browse files
committed
fix : onAfterLoad
1 parent db70d49 commit f898a2f

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

package/CHANGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### Fix
44

55
- activate the passive option of touchstart, touchmove.
6+
- multiple "onAfterLoad" runs.
67

78
## 1.3.0
89

package/src/components/FullpageContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function FullpageContainer({
9191
if (isLoaded && onAfterLoad) {
9292
onAfterLoad(container);
9393
}
94-
}, [isLoaded, onAfterLoad]);
94+
}, [isLoaded]);
9595

9696
/**
9797
* Container 마운트에 <html> 태그에 Class를 추가하고, 언마운트에 제거합니다.

test/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import { Route, Routes } from 'react-router-dom';
3-
import Home from './routes/home';
4-
import Fullpage from './routes/fullpage';
3+
import Home from './routes/Home';
4+
import Fullpage from './routes/Fullpage';
55

66
function App() {
77
return (
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)