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

fix: Mouse click on FluentMultiSplitter bar changes position #2217

Closed
emetrix opened this issue Jun 19, 2024 · 1 comment
Closed

fix: Mouse click on FluentMultiSplitter bar changes position #2217

emetrix opened this issue Jun 19, 2024 · 1 comment
Labels
triage New issue. Needs to be looked at

Comments

@emetrix
Copy link

emetrix commented Jun 19, 2024

🐛 Bug Report

When I do a left (mouse) click on the resize bar of a two pane FluentMultiSplitter the resize bar changes its position.

💻 Repro or Code Sample

MainLayout.razor:

<FluentLayout>
    <FluentHeader>
        BlazorApp
    </FluentHeader>
        <FluentStack Class="main" Orientation="Microsoft.FluentUI.AspNetCore.Components.Orientation.Horizontal" Width="100%">
            <FluentMultiSplitter BarSize="8px">

                <FluentMultiSplitterPane Size="250px" Resizable="true">
                  <NavMenu /> 
                </FluentMultiSplitterPane>

                <FluentMultiSplitterPane >
                    <FluentBodyContent Class="body-content">
                        <div class="content">
                            @Body
                        </div>
                    </FluentBodyContent>
                </FluentMultiSplitterPane>

            </FluentMultiSplitter>
        </FluentStack>
    <FluentFooter>
        <a href="https://www.fluentui-blazor.net" target="_blank">Documentation and demos</a>
        <FluentSpacer />
        <a href="https://learn.microsoft.com/en-us/aspnet/core/blazor" target="_blank">About Blazor</a>
    </FluentFooter>
</FluentLayout>

🤔 Expected Behavior

A mouse click on the resize bar should not change its position

😯 Current Behavior

see bug report description

💁 Possible Solution

🔦 Context

FluentMultiSplitter-Bar.mp4

🌍 Your Environment

  • OS: Windows 11 & Device: PC
  • Browser: Microsoft Edge
  • .NET 8.0.6 and Fluent UI Blazor library Version 4.8.0
@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Jun 19, 2024
@dvoituron
Copy link
Collaborator

dvoituron commented Jun 19, 2024

Will be fixed in the next Release with #2218 (a condition added to FluentMultiSplitter.razor.js)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New issue. Needs to be looked at
Projects
None yet
Development

No branches or pull requests

2 participants