Skip to content

Toc links only works on text click #1267

@anton-fomichev

Description

@anton-fomichev

Package version

5.0.11

Node version

20.19.2

Platform

Static build

What steps will reproduce the bug?

Try to navigate using toc link with items inside: click the right side of the button (with no text). It would not navigate you to another page.

What is the expected behavior?

It would be better if the click worked on the whole button.

What do you see instead?

Click on toc links with items inside works only on text content:

Image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions