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

If NavigationAppBar is null in NavigationView then the indicator is misaligned #41

Closed
mzdm opened this issue May 28, 2021 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@mzdm
Copy link

mzdm commented May 28, 2021

fluent_ui: ^2.0.2

NavigationView(
      useAcrylic: false,
      // Uncomment this and indicator works fine.
      // appBar: NavigationAppBar(),
      content: NavigationBody(
        index: selectedIndex,
        children: [
          InputPage(),
          SettingsPage(),
          SettingsPage(),
        ],
      ),
      pane: NavigationPane(
        displayMode: PaneDisplayMode.compact,
        selected: selectedIndex,
        onChanged: (i) => setState(() => selectedIndex = i),
        items: [
          PaneItem(
            icon: const Icon(Icons.input),
            title: 'Inputs',
          ),
          PaneItem(
            icon: const Icon(Icons.format_align_center),
            title: 'Forms',
          ),
        ],
        footerItems: [
          PaneItemSeparator(),
          PaneItem(
            icon: const Icon(Icons.settings),
            title: 'About app',
          ),
        ],
      ),
    );

image

@bdlukaa bdlukaa added the bug Something isn't working label May 28, 2021
@bdlukaa bdlukaa self-assigned this May 28, 2021
@bdlukaa
Copy link
Owner

bdlukaa commented May 28, 2021

Reproducible on the latest master

@bdlukaa
Copy link
Owner

bdlukaa commented May 28, 2021

Published version 2.0.3 that fixes this issue

@bdlukaa bdlukaa closed this as completed May 28, 2021
@mzdm
Copy link
Author

mzdm commented May 28, 2021

Published version 2.0.3 that fixes this issue

Can confirm it's working now properly, thanks for the fast fix! 💙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants