fluent_ui icon indicating copy to clipboard operation
fluent_ui copied to clipboard

PaneItemExpander deeper nesting

Open ignatz opened this issue 1 year ago • 1 comments

I'd like to nest pane items more deeply than 1 level. The implementation clearly asserts: "There can not be nested PaneItemExpanders" while MS' documentation reads: "Although NavigationViewItem can contain any number of nested levels, we recommend keeping your app's navigation hierarchy shallow. We believe two levels is ideal for usability and comprehension." (https://learn.microsoft.com/en-us/windows/apps/design/controls/navigationview#hierarchical-navigation).

Describe the solution you'd like I'm mostly wondering if the limiting is intentional, if there's a technical reason, or if you'd be willing to accept a patch.

ignatz avatar Jan 31 '24 07:01 ignatz

Because of the way we traverse the pane items and calculate the index, nesting pane items is not allowed.

A patch would be appreciated, but I recommend you to read #919 first!

bdlukaa avatar Jan 31 '24 13:01 bdlukaa