We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d3da5 commit b8e452bCopy full SHA for b8e452b
nicegui/elements/sub_pages.py
@@ -111,8 +111,6 @@ def _render_page(self, match: RouteMatch) -> bool:
111
if not asyncio.iscoroutine(result):
112
# NOTE: if the full path could not be consumed, the deepest sub pages element must handle the possible 404
113
if match.remaining_path and not any(isinstance(el, SubPages) for el in self.descendants()):
114
- if asyncio.iscoroutine(result):
115
- result.close()
116
return False
117
118
self._handle_scrolling(match, behavior='instant')
0 commit comments