Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]: MAppBarNavIcon 给IconName值会出现两个图标 #2145

Closed
TAnsz opened this issue Sep 11, 2024 · 1 comment · Fixed by #2146
Closed

[Bug Report]: MAppBarNavIcon 给IconName值会出现两个图标 #2145

TAnsz opened this issue Sep 11, 2024 · 1 comment · Fixed by #2146
Labels
Milestone

Comments

@TAnsz
Copy link

TAnsz commented Sep 11, 2024

Masa.Blazor version

1.7.2

Describe the bug

1726016091426

Expected Behavior

No response

Steps To Reproduce

No response

Reproduction code

<MCard Class="overflow-hidden">
    <MAppBar>
        <MAppBarNavIcon IconName="mdi-home"></MAppBarNavIcon>
    </MAppBar>
    <MSheet Class="overflow-y-auto" MaxHeight="600" Id="scrolling-techniques-6">
        <MContainer Style="height: 1000px;"></MContainer>
    </MSheet>
</MCard>

.NET version

No response

What browsers are you seeing the problem on?

Microsoft Edge

Additional context

No response

@TAnsz TAnsz changed the title [Bug Report]: MAppBarNavIcon 给IconName值会出现两个按钮 [Bug Report]: MAppBarNavIcon 给IconName值会出现两个图标 Sep 11, 2024
@capdiem capdiem added type/bug Something isn't working component/AppBarNavIcon labels Sep 11, 2024
@capdiem
Copy link
Contributor

capdiem commented Sep 11, 2024

@TAnsz 是有点问题,虽然AppBarNavIcon的意义就是给切换导航用的,并没有太多其他意义。你可以使用<MButton IconName="mdi-home" />。后续会发v1.7.3解决此问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants