title: Slider does not seems slide on tabview in SwiftUI
body: <p>How I can make sliders starts normally slide? Right now they locked down.</p>
  <p>I think the problem is because of Binding of View which Slider are inside, however those Binding have nothing to do with Sliders and those Sliders have own value for work as State! But I do not know why it makes issue. I tried slider in a tabview without binding to view it work, but not with binding.</p>
  <p>my code:</p>
  <pre><code>    import SwiftUI
  
  struct ContentView: View {
      
      @State var currentPage: Int = 1
      @State var animationIsEnable    : Bool = true
      @State var shadowIsEnable       : Bool = true
  
      var body: some View {
          
          
          ZStack
          {
  
              Color.gray.ignoresSafeArea()
              
              
              TabView(selection: $currentPage)
              {
                  Text(&quot;Hi&quot;).tag(0)
                  SliderView(animationIsEnable: $animationIsEnable, shadowIsEnable: $shadowIsEnable).tag(1)
                  
              }
              .indexViewStyle(PageIndexViewStyle(backgroundDisplayMode: .never))
              .tabViewStyle(PageTabViewStyle())
              
          }
    
          
      }
  }
  
  
  struct SliderView: View {
  
      
      @Binding var animationIsEnable  : Bool
      @Binding var shadowIsEnable     : Bool
      
      
      @State var volum1: Float = 50
      @State var volum2: Float = 50
  
      var body: some View {
  
          VStack {
  
              
              HStack { Text(&quot;03:58&quot;); Slider(value: $volum1, in: 0...100, step: 1); Text(&quot;23:51&quot;) }.padding(.vertical)
  
              HStack {
                  Button(action: {print(&quot;speaker.1&quot;)}) { Image(systemName: &quot;speaker.1&quot;).font(Font.body.bold()) }
                  Slider(value: $volum2, in: 0...100, step: 1)
                  Button(action: {print(&quot;speaker.3&quot;)}) { Image(systemName: &quot;speaker.3&quot;).font(Font.body.bold()) }
              }.padding(.vertical)
       
              
          }
          .padding(.horizontal)
          .foregroundColor(Color.black)
          .shadow(color: shadowIsEnable ? Color.black.opacity(0.7) : Color.clear, radius: 10, x: -8, y: 8)
          
      }
  }
  
  
   
  </code></pre>