Skip to content

When sidebar is collapsed subitems cannot be selected in mobile view #4154

Closed

Description

@coderdnewbie

When you have a submenu with items and it is collapsed, on desktop view, the subitems can be selected (see screenshot below):

Image

However, when you go into mobile view, by shrinking the screen,, the subitems cannot be selected and the arrows are not shown (see screenshot below):

Image

If it is not collapsed and the same steps are done, then the display is perfect in mobile view, the arrows can be seen, in mobile view, and the subitems selected (see screenshot below):

Image

So please can the subitems when collapsed and in mobile view be fixed please.

Thanks.

Activity

  1. added
    triage
    on Sep 23, 2025
  2. changed the title [-]When sidebar is collapsed there is a scenario where subitemsa cannot be selected in mobile view[/-] [+]When sidebar is collapsed subitems cannot be selected in mobile view[/+] on Sep 23, 2025
  3. vnbaaij commented on Sep 23, 2025

    @vnbaaij
    Collaborator

    We will take a look at what is happening once you have provided reproduction code.

    In general, you should not use the collapsed state on mobile resolutions. Normal usage is to have a hamburger then and display the menu full width when it is opened. I consider this a low priority issue, so might take a while...

  4. added
    needs: repro code or repository
    and removed
    triage
    on Sep 23, 2025
  5. coderdnewbie commented on Sep 23, 2025

    @coderdnewbie
    Author

    The repo is here : https://github.com/coderdnewbie/FluentUITailwind4Demo

    Happy for you to take a look. Basically was thinking that when collapsed and shrink to mobile view, it should be the same as when not collapsed and shrink to mobile view.

    This is a demo app, so if it is low priority then that is fine.

  6. added
    status:needs-investigation
    community:question
    and removed
    needs: repro code or repository
    on Sep 25, 2025
  7. MarvinKlein1508 commented on Sep 25, 2025

    @MarvinKlein1508
    Collaborator

    Vincent Baaij (@vnbaaij) this is also happening on smaller sized iPads and Microsoft Surface devices.

  8. vnbaaij commented on Sep 29, 2025

    @vnbaaij
    Collaborator

    I'm implementing a change (for the next release) where the placement of the submenu is going to be dependent of the NavMenu status.
    If it is collapsed, it will put the menu at the horizontal center instead of at the end when the NavMenu is being displayed in the 'mobile' view. Hope the screengrab below makes it clear:

    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    community:questionstatus:needs-investigation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions