diff --git a/vaadin-app-layout-flow-parent/vaadin-app-layout-flow/src/main/java/com/vaadin/flow/component/applayout/AppLayout.java b/vaadin-app-layout-flow-parent/vaadin-app-layout-flow/src/main/java/com/vaadin/flow/component/applayout/AppLayout.java index f8e10e1b8e1..4cab7f51c38 100644 --- a/vaadin-app-layout-flow-parent/vaadin-app-layout-flow/src/main/java/com/vaadin/flow/component/applayout/AppLayout.java +++ b/vaadin-app-layout-flow-parent/vaadin-app-layout-flow/src/main/java/com/vaadin/flow/component/applayout/AppLayout.java @@ -315,7 +315,7 @@ public void showRouterLayoutContent(HasElement content) { * Called after a navigation event. The default behaviour is to close the * drawer on mobile devices after a navigation event. */ - protected void afterNavigation() { + void afterNavigation() { // Close drawer after navigation on mobile devices. if (isOverlay()) { setDrawerOpened(false);