Skip to content

After refreshing the page, the drop-down menu will appear accidentally. #925

@Purgepyro

Description

@Purgepyro

Describe the bug
When the sidebar collapses and entering a section that has more than one item, after refreshing the page, the drop-down menu will appear accidentally.

To Reproduce
Steps to reproduce the behavior:

  1. Make the sidebar collapse
  2. Enter a menu that has more than one item, like "log" in the video
  3. Refresh the page
  4. See error

Expected behavior
The drop-down menu shouldn't pop up automatically.

Screen Recording
https://github.com/user-attachments/assets/e2635d54-97b8-43a5-89a2-c457f1d154b4

Info (please complete the following information):

  • Server OS: Debian 12.10
  • Server Arch: x86-64
  • Nginx UI Version: 2.0.0-rc4
  • Your Browser: Microsoft Edge

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions