Commit c0ec9ec
Fix setLayoutAnimationEnabled assigning variable to itself
setLayoutAnimationEnabled was assigning isLayoutAnimationEnabled
back to itself instead of the value parameter, making the function
a no-op. This meant LayoutAnimation could never be toggled at
runtime once initialized.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8bac1df commit c0ec9ec
File tree
1 file changed
+1
-1
lines changed- packages/react-native/Libraries/LayoutAnimation
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments