Add Toggle Functionality to Table of Contents via Header Click #23835
mleister97
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
Currently, in Elementor, the Table of Contents (TOC) menu can only be toggled by clicking the icon associated with it. This can be a bit counterintuitive for users who expect to be able to toggle the TOC by clicking the header itself.
Describe the solution you'd like
I suggest adding the functionality to toggle the Table of Contents by clicking on the header as well. This would provide a more intuitive user experience and make navigation within lengthy content easier.
Describe alternatives you've considered
No response
Additional context
Currently, users need to specifically click the TOC icon to expand or collapse the TOC, which might not be immediately apparent to all users.
Allowing users to toggle the TOC by clicking the header would align with common UI patterns, where clicking an element often expands or collapses related content.
Benefits:
All reactions