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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>10.0.25</Version>
<Version>10.0.26</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
_showToolbar = ShowToolbar;
_enableThumbnails = EnableThumbnails;
_fitMode = FitMode;
return;
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bug fix prevents double rendering when Url is null, but there are no automated tests to verify this behavior. Consider adding unit tests for the PdfReader component to ensure this issue doesn't regress in the future, especially for the OnAfterRenderAsync lifecycle method with various Url states.

Copilot uses AI. Check for mistakes.
}

if (_url != Url)
Expand Down
Loading