-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
bugSomething isn't workingSomething isn't working
Description
diff --git a/Example/Example/ContentView.swift b/Example/Example/ContentView.swift
index 5b7e8e3..8e591c2 100644
--- a/Example/Example/ContentView.swift
+++ b/Example/Example/ContentView.swift
@@ -61,14 +61,23 @@ struct ContentView: View {
Text("Hide/Show TabBar")
}
.tabItem(for: Item.first)
-
- Text("Second")
- .tabItem(for: Item.second)
+
+ ScrollView {
+ VStack {
+ ForEach(0..<100, id: \.self) { i in
+ Rectangle()
+ .fill(Color.accentColor)
+ .overlay(
+ TextField("\(i)", text: .constant("\(i)"))
+ )
+ }
+ }
+ }
+ .tabItem(for: Item.second)
Text("Third")
.tabItem(for: Item.third)
}
- .tabBar(style: CustomTabBarStyle())
.tabItem(style: CustomTabItemStyle())
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working