[BUG] : Sidebar Collapses When Clicking Empty Areas Instead of Only the Collapse Button

Aperta
#2,364 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@NiranjanRSoorej06 ci sta già lavorando.

Dal 4/8/2026.

  • #2368 di @Mogu-code — chiusa senza merge
  • #2467 di @NiranjanRSoorej06 — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

priority:medium type:bug

Summary

The sidebar collapses when clicking on empty/non-interactive areas within the sidebar. It should only collapse when the dedicated collapse (<<) button is clicked.

Why this matters

Users may accidentally collapse the sidebar while navigating or interacting with the sidebar, leading to an unexpected and frustrating user experience.

Reproduction steps

  1. Launch the application.
  2. Keep the sidebar expanded.
  3. Click on any empty area within the sidebar (not on a navigation item or button).
  4. Observe that the sidebar collapses.

Expected behavior

The sidebar should remain expanded when clicking anywhere inside the sidebar except the dedicated collapse (<<) button.

Actual behavior

Clicking on non-interactive/empty areas within the sidebar causes it to collapse, even though the collapse button was not clicked.

Scope

Suggested files or directories:

  • Sidebar component
  • Sidebar event handlers
  • Layout component

Related route, page, component, or script:

  • Sidebar
  • Collapse Button

Evidence

  • Sidebar collapses after clicking empty space inside the sidebar.
  • Screenshot attached.
Image

Environment

  • OS: Windows 10
  • Browser: Chrome
  • Python Version: N/A
  • Node Version: N/A
  • Docker Version: N/A

Definition of done

  • Bug is reproducible from the issue description
  • Sidebar only collapses when the dedicated collapse (<<) button is clicked
  • Clicking empty/non-interactive areas within the sidebar does not change its state
  • Relevant tests are added or updated if applicable

Additional context

The collapse action appears to be bound to the sidebar container rather than being limited to the dedicated collapse button.

Lingua principale
Python
Stelle
36
Fork
234
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di utksh1/SecuScan

Tutte le issue di utksh1/SecuScan

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.