Blazorise: Nested Dropdowns malfunctioning

Created on 2 Dec 2020  路  5Comments  路  Source: stsrki/Blazorise

Describe the bug
I am trying to nest BarDropdown according to the example at https://blazorise.com/docs/components/bar/#nested-dropdowns
When clicking "Nested toggler" the entire dropdown collapses.

To Reproduce
Steps to reproduce the behavior:

  1. Add the code from the example
  2. Click on the nested menu item "Nested toggler"
  3. The entire dropdown disappears and no sub-items are displayed.

Expected behavior
The expected behavior is for the nested submenuitem "Nested item" to be displayed.

Bug 馃悶

Most helpful comment

@danielheddelin thanks for reporting.
I will get this fixed for 0.9.3 (possibly a 0.9.2.x patch if the changes aren't too large).

It looks like I have overlooked nested Dropdowns for Horizontal bar! 馃槄 Sorry about that.

All 5 comments

It seems this is a bug.

@MitchellNZ Can you please check into this?

@stsrki sure!

@danielheddelin could you please provide a little bit more information

  • Which Bar mode are you using? (Horizontal or Vertical)
  • Which Blazorise version are you on?
  • Which provider are you using? (Bootstrap, Material, etc)

@MitchellNZ absolutely!

The tree is:

<Bar Breakpoint="Breakpoint.Desktop"
     Background="Background.Light"
     ThemeContrast="ThemeContrast.Light">
    <BarMenu>
        <BarEnd>
            <AuthorizeView>
                <Authorized Context="Auth">
                    <BarItem>
                        <BarDropdown>
                            <BarDropdownToggle>Title</BarDropdownToggle>
                            <BarDropdownMenu>
                                <BarDropdown>
                                    <BarDropdownToggle>NestedTitle</BarDropdownToggle>
                                    <BarDropdownMenu>
                                        <BarDropdownItem..../>
                                        <BarDropdownItem..../>
                                        <BarDropdownItem..../>

@danielheddelin thanks for reporting.
I will get this fixed for 0.9.3 (possibly a 0.9.2.x patch if the changes aren't too large).

It looks like I have overlooked nested Dropdowns for Horizontal bar! 馃槄 Sorry about that.

Fantastic. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tamunaKap picture tamunaKap  路  6Comments

njannink picture njannink  路  4Comments

Andy74 picture Andy74  路  4Comments

smilyte picture smilyte  路  3Comments

brettwinters picture brettwinters  路  5Comments