emilk / emilk/egui

Only 1 Collapsing Header Open At A Time

Open
#3,048 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

Is there any way currently to implement multiple collapsing headers, only one of which can be open (when another is clicked, the previous will close)? I've tried fiddling around with calling the `open` functions of other collapsing headers from within a collapsing header but I can't get anything to work correctly.
If not, then it would be great if this were added.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating egui's collapsing-header API and the open functions mentioned in the issue, then inspect how multiple headers are typically composed. Done means opening one header reliably closes any other header in the group, with the behavior covered by an appropriate test or example.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.