Skip to content

Commit a3ffe98

Browse files
authored
Merge pull request #383 from hossein-zare/dev-5.x
Prepare for release 5.1.22
2 parents 9aba90c + 00aa22c commit a3ffe98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Picker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,8 @@ function Picker({
537537
* onLayout.
538538
*/
539539
const __onLayout = useCallback((e) => {
540-
e.persist();
540+
if(Platform.OS !== "web")
541+
e.persist();
541542

542543
onLayout(e);
543544

0 commit comments

Comments
 (0)