themesberg / themesberg/flowbite
Sidebar creates phantom letters when Turbo is invoked
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Every time you invoke a turbo frame update on another part of the page, the sidebar component seems to add another single letter span element to existing links. When it does this, it also unhides the previous span that it created, so it infinitely keeps adding letters to the end of links in the sidebar with each invocation.
To Reproduce
Steps to reproduce the behavior:
Utilize sidebar component in an app. Trigger turbo frame - sidebar creates phantom letters.
Expected behavior
Additional letters aren't created.
Screenshots

Desktop (please complete the following information):
MacOS 13.2
Chrome 109.0.5414.119
Smartphone (please complete the following information):
NA
Additional context
NA
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
Start with the sidebar component and reproduce the issue by triggering a Turbo frame update elsewhere, then inspect the sidebar links for added single-letter spans and previously hidden spans becoming visible. Done means repeated updates no longer create or reveal phantom letters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, tailwindcss
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100