Repository: CodeEditApp/CodeEdit
File: CodeEdit/Features/Editor/JumpBar/Views/EditorJumpBarView.swift (Swift)

Code before:
    }

    var fileItems: [CEWorkspaceFile] {
        var treePath: [CEWorkspaceFile] = []
        var currentFile: CEWorkspaceFile? = file

        while let currentFileLoop = currentFile {
            treePath.insert(currentFileLoop, at: 0)
            currentFile = currentFileLoop.parent
        }

        return treePath
    }

    var body: some View {
        GeometryReader { containerProxy in
            ScrollView(.horizontal, showsIndicators: false) {
                HStack(spacing: 0) {
                    if file == nil {
                        Text("No Selection")
                            .font(.system(size: 11, weight: .regular))
                            .foregroundColor(
                                activeState != .inactive
                                ? isActiveEditor ? .primary : .secondary
                                : Color(nsColor: .tertiaryLabelColor)
                            )
                    } else {
                        ForEach(fileItems, id: \.self) { fileItem in
                            EditorJumpBarComponent(
                                fileItem: fileItem,
                                tappedOpenFile: tappedOpenFile,
                                isLastItem: fileItems.last == fileItem,
                                isTruncated: fileItems.first == fileItem ? $firstCrumbWidth : $crumbWidth
                            )
                        }

                    }
                }
                .background(
                    GeometryReader { proxy in
                        Color.clear
                            .onAppear {
                                if crumbWidth == nil {
                                    textWidth = proxy.size.width
                                }
                            }
                            .onChange(of: proxy.size.width) { newValue in
                                if crumbWidth == nil {
                                    textWidth = newValue
                                }
                            }

Review comment (suggestion):
```suggestion
                            )
                            .frame(maxHeight: .infinity)
```

This doesn't fill it's available vertical space with the GeometryReader, adding a larger height fixes it.

Code after:
    }

    var fileItems: [CEWorkspaceFile] {
        var treePath: [CEWorkspaceFile] = []
        var currentFile: CEWorkspaceFile? = file

        while let currentFileLoop = currentFile {
            treePath.insert(currentFileLoop, at: 0)
            currentFile = currentFileLoop.parent
        }

        return treePath
    }

    var body: some View {
        GeometryReader { containerProxy in
            ScrollView(.horizontal, showsIndicators: false) {
                HStack(spacing: 0) {
                    if file == nil {
                        Text("No Selection")
                            .font(.system(size: 11, weight: .regular))
                            .foregroundColor(
                                activeState != .inactive
                                ? isActiveEditor ? .primary : .secondary
                                : Color(nsColor: .tertiaryLabelColor)
                            )
                            .frame(maxHeight: .infinity)
                    } else {
                        ForEach(fileItems, id: \.self) { fileItem in
                            EditorJumpBarComponent(
                                fileItem: fileItem,
                                tappedOpenFile: tappedOpenFile,
                                isLastItem: fileItems.last == fileItem,
                                isTruncated: fileItems.first == fileItem ? $firstCrumbWidth : $crumbWidth
                            )
                        }

                    }
                }
                .background(
                    GeometryReader { proxy in
                        Color.clear
                            .onAppear {
                                if crumbWidth == nil {
                                    textWidth = proxy.size.width
                                }
                            }
                            .onChange(of: proxy.size.width) { newValue in
                                if crumbWidth == nil {
                                    textWidth = newValue
                                }