-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
My case is a little different, root -> folder -> sub folder ->sub sub folder, sometimes a user is in a deep sub folder, and he goes to root directly. Is there any way to disable the animation please? Here is a related closed issue #91, but it is not suitable for my case.
VStack(spacing: 0) {
HomeMenuBar()
.frame(height: topViewHeight)
.edgesIgnoringSafeArea(.top)
FlowStack($viewModel.routes, withNavigation: true) {
HomeContentAreaView(
folder: Content.from(ProjectModel()),
query: $viewModel.query,
isMultipleSelectionActive: $viewModel.isMultipleSelectionActive,
layout: $viewModel.layout,
folderRefreshPublisher: viewModel.folderRefreshPublisher
)
.flowDestination(for: Content.self) { content in
Group {
if content.project.isFolder {
HomeContentAreaView(
folder: content,
query: $viewModel.query,
isMultipleSelectionActive: $viewModel.isMultipleSelectionActive,
layout: $viewModel.layout,
folderRefreshPublisher: viewModel.folderRefreshPublisher
)
} else {
ProjectView(projectId: content.project.id)
}
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels