Show collapsed content when linking directly to #fragment
Open
Nobody has claimed this yet.
feature
js
v6-revisit
- Dominant language
- MDX
- Stars
- 175k
- Forks
- 78.6k
- Avg merge
- 7h 19m
- Merged PRs (30d)
- 35
Description
- Operating system and version Linux Mint v19.3
- FF v87
- https://getbootstrap.com/docs/5.0/components/collapse/#collapseExample
On page above we have an example:

by follow a link the element is not showed (notice #collapseExample at URL):

We just see a position where this element should be rendered.
Wiki about #fragment: https://en.wikipedia.org/wiki/URL

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked Bootstrap 5.0 collapse example and reproduce the behavior with #collapseExample in the URL. Investigate how the collapse example handles direct URL fragments; done means the targeted content is shown when loaded directly while the existing collapse example still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100