update appeared state in IndicatorView when disappear
This commit is contained in:
parent
e021db3028
commit
a32b810b1a
|
@ -63,6 +63,9 @@ internal struct IndicatorBarView<SelectionType, Indicator>: View where Selection
|
|||
appeared = true
|
||||
}
|
||||
}
|
||||
.onDisappear {
|
||||
appeared = false
|
||||
}
|
||||
}
|
||||
.frame(height: internalStyle.indicatorViewHeight)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue