getgrav / getgrav/grav-plugin-shortcode-ui

Can't collapse accordion sections with [ui-accordion open=none]

Open
#36 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
CSS
Stars
48
Forks
11
PR merge metrics
No merged PRs in 30d

Description

When using `[ui-accordion open=none]`, I'm unable to re-collapse accordion sections after opening them. I can only open **other** sections, (which thus collapses the original section). I have some lengthy sections, so it would be very nice if users could collapse opened sections instead of scrolling to see/open next section.

Also - Feature request for ability to link to tabs/accordions?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior with the [ui-accordion open=none] shortcode and inspect the accordion implementation. Confirm that an opened section can be collapsed again without opening another section; the separate request to link to tabs or accordions is broader and needs its scope clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
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.