-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
What happened?
Not sure if this is the intended behaviour, however
having a menu/NavigationStack as part of root.swiftui.neex
layout is not rendered when the page is changed.
I'm having two live routes: home
and about
.
Each containing a simple <Text>Page name</Text>
Both are using /layouts/root.swiftui.neex
layout template
<.csrf_token />
<Style url={~p"/assets/app.swiftui.styles"} />
<NavigationStack>
<%= @inner_content %>
<Spacer />
<HStack>
<Spacer />
<.link navigate={~p"/"}><.icon name="house" />Home</.link>
<Spacer />
<.link navigate={~p"/about"}><.icon name="person" />About</.link>
<Spacer />
</HStack>
</NavigationStack>
The problem is that the app menu, is not persisted when navigating from a page to another.
Simulator.Screen.Recording.-.iPhone.15.-.2024-08-09.at.03.47.04.mp4
Simulator.Screen.Recording.-.iPhone.15.-.2024-08-09.at.03.48.55.mp4
Library Version
0.3.0-rc.3
Xcode Version
16.0 beta 3
Swift Version
6.0
On which device or simulator are you running into the problem?
iPhone
Target Device Operating System Version
18.0
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested