Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* Fixed `input_task_button` not working in a Shiny module. (#1108)
* Fixed several issues with `page_navbar()` styling. (#1124)
* Fixed `Renderer.output_id` to not contain the module namespace prefix, only the output id. (#1130)

## [0.7.1] - 2024-02-05

Expand Down
2 changes: 2 additions & 0 deletions shiny/render/_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ async def render(self) -> dict[str, Jsonifiable] | Jsonifiable | None:
is_userfn_async = self.fn.is_async()
name = self.output_id
session = require_active_session(None)
# Module support
name = session.ns(name)
width = self.width
height = self.height
alt = self.alt
Expand Down
2 changes: 1 addition & 1 deletion shiny/session/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ def set_renderer(renderer: RendererT) -> RendererT:
output_name = self._ns(output_id)

# renderer is a Renderer object. Give it a bit of metadata.
renderer._set_output_metadata(output_id=output_name)
renderer._set_output_metadata(output_id=output_id)

renderer._on_register()

Expand Down