File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app-backend-vue3/src/components
app-frontend/src/features/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export class ComponentWalker {
165
165
// record screen position to ensure correct ordering
166
166
if ( ( ! list || list . length > 1 ) && ! instance . _inactive ) {
167
167
const rect = getInstanceOrVnodeRect ( instance )
168
- treeNode . positionTop = rect ? rect . positionTop : Infinity
168
+ treeNode . positionTop = rect ? rect . top : Infinity
169
169
}
170
170
171
171
if ( instance . suspense ) {
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ export default {
31
31
const componentHasKey = computed (() => (props .instance .renderKey === 0 || !! props .instance .renderKey ) && props .instance .renderKey !== UNDEFINED )
32
32
33
33
const sortedChildren = computed (() => props .instance .children ? props .instance .children .slice ().sort ((a , b ) => {
34
- return a .top === b .top
34
+ return a .positionTop === b .positionTop
35
35
? a .id - b .id
36
- : a .top - b .top
36
+ : a .positionTop - b .positionTop
37
37
}) : [])
38
38
39
39
const {
You can’t perform that action at this time.
0 commit comments