Collapsible Block wont open after getting focused via href-Link #4822

Open
opened 2026-02-05 09:18:43 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Gneeha on GitHub (Jun 11, 2024).

Describe the Bug

After creating a link to collapsible block within a page, clicking the link only leads to focusing the collapsible block instead of opening it as well.
This occured with updating to Version 24.05.1 and ist still same in 24.05.2. With Version 24.02 this problem didn't occur.
On a fresh install it's still the same.
Following image is the result after clicking the link:
page_collapsible_wont_open

OS: SLES 15.5
Tested behaviour on Firefox, Chrome and Edge.

Steps to Reproduce

  1. Create new page with collapsible block and save.
  2. Leave editor and doubleclick on collapsible-Element to copy URL.
  3. Return to editor and link text-Element to just copied URL of the collapsible and save.
  4. Leave editor and click linked text-Element.
  5. Collapsible block gets focused, but doesn't open.

Expected Behaviour

After clicking a linked element leading to a collapsible block, the collapsible should open.
Like it does after getting focused by TOC-Elements.

Screenshots or Additional Context

No response

Browser Details

115.11.0esr (64-Bit)

Exact BookStack Version

v24.05.01 + v24.05.02

Originally created by @Gneeha on GitHub (Jun 11, 2024). ### Describe the Bug After creating a link to collapsible block within a page, clicking the link only leads to focusing the collapsible block instead of opening it as well. This occured with updating to Version 24.05.1 and ist still same in 24.05.2. With Version 24.02 this problem didn't occur. On a fresh install it's still the same. Following image is the result after clicking the link: ![page_collapsible_wont_open](https://github.com/BookStackApp/BookStack/assets/34285193/398e4862-6945-4476-8d57-ab869e8a5292) OS: SLES 15.5 Tested behaviour on Firefox, Chrome and Edge. ### Steps to Reproduce 1. Create new page with collapsible block and save. 2. Leave editor and doubleclick on collapsible-Element to copy URL. 3. Return to editor and link text-Element to just copied URL of the collapsible and save. 4. Leave editor and click linked text-Element. 5. Collapsible block gets focused, but doesn't open. ### Expected Behaviour After clicking a linked element leading to a collapsible block, the collapsible should open. Like it does after getting focused by TOC-Elements. ### Screenshots or Additional Context _No response_ ### Browser Details 115.11.0esr (64-Bit) ### Exact BookStack Version v24.05.01 + v24.05.02
OVERLORD added the 🐛 Bug label 2026-02-05 09:18:43 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4822