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
Expand Up @@ -108,7 +108,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
}
if (Module != null)
{
await Module.InvokeVoidAsync("init");
await Module.InvokeVoidAsync("scrollToAnchor");
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function init() {
export function scrollToAnchor() {
const hash = decodeURI(location.hash)
if (hash) {
const anchor = hash.split('-')[0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
}

.main {
height: 100%;
width: calc(100% - var(--bb-sidebar-width));
}

Expand Down
4 changes: 2 additions & 2 deletions src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>9.2.7-beta04</Version>
<Version>9.2.7-beta05</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public abstract class IdComponentBase : BootstrapComponentBase
/// </summary>
[Parameter]
[NotNull]
public virtual string? Id { get; set; }
public string? Id { get; set; }

/// <summary>
/// 获得 IComponentIdGenerator 实例
/// 获得 <see cref="IComponentIdGenerator"/> 实例
/// </summary>
[Inject]
[NotNull]
Expand Down
Loading