This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Description
.pipify(isPresented: $isPresented) {
PipView()
}
self.listeningVM.currentPip has default value self.listeningVM.currentPip = "HERE is text"
if PipView has ScrollView, it just show black pip window
struct PipView: View {
@EnvironmentObject var listeningVM: ListeningVM
var body: some View {
VStack(alignment: .leading, spacing: 0.0) {
ScrollView {
Text(self.listeningVM.currentPip)
.frame(width: 300, alignment: .leading)
}
.frame(height: 80, alignment: .topLeading)
.defaultScrollAnchor(.topLeading)
}
.padding(4)
.foregroundStyle(.white)
.frame(width: 300, height: 100)
}
}
if ScrollView is remove, "HERE is text" is properly show in pip window.
Why ScrollView is important, I want to show multi line text within pip window, if text can scroll to latest text will be good UX design.