Commit ff2e222
committed
fix(core): iOS child index mapping skips the glass effect subview
iosGlassEffect inserts a UIVisualEffectView at subview 0 of the view, so
its children live one subview past their child index. The index mapping
still passed child indices through unchanged, and a child inserted at a
given position landed one subview lower, beneath the sibling it should
precede.
The iOS View mapping now adds the effect view's slot while it is
attached, and the layout mapping — which counts the native views of the
preceding children for proxy containers and was overriding the platform
base outright — hands its result to the base so both apply.1 parent 4db0e64 commit ff2e222
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1003 | 1003 | | |
1004 | 1004 | | |
1005 | 1005 | | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
1006 | 1019 | | |
1007 | 1020 | | |
1008 | 1021 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
0 commit comments