I am building an app using CustomWebView extension and I’m having trouble managing the browser history stack.
My app has a Home screen layout with multiple Card Views (e.g., Syllabus, Notifications). When clicked, each card sets a webviewer layout to visible and loads a specific URL using ID 1.
The Problem: When switching between these sections, the history stack from the previous URL remains active.
- User clicks Syllabus - opens Syllabus URL.
- User presses Back - hides webviewer layout, returns to Home layout.
- User clicks Notifications - opens Notifications URL.
- User presses Back - instead of returning to the Home layout, the webview navigates backward to the Syllabus page because it’s still in the history stack of
id 1.
I have attached Current Blocks. Any guidance / block examples would be greatly appreciated. Thank you!


