Skip to content

Commit 05996c3

Browse files
committed
release
1 parent 41919c7 commit 05996c3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 15.5.2
2+
3+
fix element.ref access issue with react 19 [1846](https://github.com/i18next/react-i18next/pull/1846)
4+
15
### 15.5.1
26

37
add typescript as optional peer dependency [1843](https://github.com/i18next/react-i18next/pull/1843)

react-i18next.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
return react.createElement(c.type, {
357357
...props,
358358
key: i,
359-
ref: c.ref
359+
ref: c.props.ref ?? c.ref
360360
}, isVoid ? null : inner);
361361
}));
362362
}

0 commit comments

Comments
 (0)