BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.49k stars 1.95k forks source link

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

Open Gneeha opened 5 months ago

Gneeha commented 5 months ago

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