table-sort-js icon indicating copy to clipboard operation
table-sort-js copied to clipboard

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

Open kyle-wannacott opened this issue 1 year ago • 0 comments

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

kyle-wannacott avatar May 21 '23 05:05 kyle-wannacott