diff --git a/ElementX/Sources/Screens/HomeScreen/View/HomeScreen.swift b/ElementX/Sources/Screens/HomeScreen/View/HomeScreen.swift index 9c7011986..48a73d50e 100644 --- a/ElementX/Sources/Screens/HomeScreen/View/HomeScreen.swift +++ b/ElementX/Sources/Screens/HomeScreen/View/HomeScreen.swift @@ -99,8 +99,14 @@ struct HomeScreen: View { makeBloomView(controller: controller) } } - let isHidden = controller.navigationController?.topViewController != controller || isSearching - bloomView?.isHidden = isHidden + let isTopController = controller.navigationController?.topViewController != controller + let isHidden = isTopController || isSearching + if let bloomView { + bloomView.isHidden = isHidden + UIView.transition(with: bloomView, duration: 2.0, options: .curveEaseInOut) { + bloomView.alpha = isTopController ? 0 : 1 + } + } gradientView?.isHidden = isHidden navigationBarContainer?.clipsToBounds = !isHidden hairlineView?.isHidden = isHidden || !scrollViewAdapter.isAtTopEdge.value diff --git a/changelog.d/pr-1705.bugfix b/changelog.d/pr-1705.bugfix new file mode 100644 index 000000000..fda435cb0 --- /dev/null +++ b/changelog.d/pr-1705.bugfix @@ -0,0 +1 @@ +The bloom does not pop in but fades in. \ No newline at end of file