Commit a74cb4b
authored
fix: Flex layout with custom alignmnets on web (#401)
## Description
It appears that reanimated's animated style might not override js style
properties on web. To handle this case properly, we filter out flex
props from the style that is passed to the sortable container and use
them only in the animated style.1 parent 891c0b3 commit a74cb4b
File tree
1 file changed
+29
-3
lines changed- packages/react-native-sortables/src/components
1 file changed
+29
-3
lines changedLines changed: 29 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
127 | 153 | | |
128 | 154 | | |
129 | 155 | | |
| |||
138 | 164 | | |
139 | 165 | | |
140 | 166 | | |
141 | | - | |
| 167 | + | |
142 | 168 | | |
143 | 169 | | |
144 | 170 | | |
145 | 171 | | |
146 | 172 | | |
147 | | - | |
| 173 | + | |
148 | 174 | | |
149 | 175 | | |
150 | 176 | | |
| |||
0 commit comments