WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit b6b7001

Browse files
authored
chore(PdfReader): bump version 10.0.9 (#768)
* chore: bump version 10.0.9 * fix: 修复工具栏隐藏后死循环问题
1 parent 4bba8cd commit b6b7001

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/BootstrapBlazor.PdfReader/BootstrapBlazor.PdfReader.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>10.0.8</Version>
4+
<Version>10.0.9</Version>
55
</PropertyGroup>
66

77
<PropertyGroup>

src/components/BootstrapBlazor.PdfReader/PdfReader.razor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ const setObserver = el => {
226226

227227
const relayoutToolbar = el => {
228228
const toolbar = el.querySelector(".bb-view-toolbar");
229-
if (toolbar === null) {
229+
if (toolbar === null || toolbar.offsetWidth === 0) {
230230
return;
231231
}
232232

0 commit comments

Comments
 (0)