Commit 649a8d7
committed
Fix the invalid scroll with the following configuration (#321)
- flexDirection is column or column_reverse
- layout direction is RTL (e.g. language is set to RTL language)
If these conditions are met, the scroll direction is considered as
opposite since the start and end direction should be considered as
oppsite from the normal case.1 parent 880d771 commit 649a8d7
File tree
3 files changed
+189
-56
lines changed- flexbox/src
- androidTest/java/com/google/android/flexbox/test
- main/java/com/google/android/flexbox
3 files changed
+189
-56
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3250 | 3250 | | |
3251 | 3251 | | |
3252 | 3252 | | |
| 3253 | + | |
| 3254 | + | |
3253 | 3255 | | |
3254 | 3256 | | |
3255 | 3257 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | | - | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
| |||
0 commit comments