Skip to content

Dont sort on columns that contain hyperlinks/anchor tags <a> #104

@kyle-wannacott

Description

@kyle-wannacott

Note: Used firefox browser extension when making this issue.

Currently if you click on a column in a table with hyperlink it sorts the column and then redirects
Check for hyper links before making a column sortable. We could possibly check if href attribute is present? (because you can have placeholder tags that don't redirect)

If you hit alt+click it should still sort without redirecting; can we preserve this behaviour is possible.

https://quick-lint-js.com/
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions