Skip to content

Commit 3329a5d

Browse files
committed
Document fork status
The README explains the justification of the fork. Mention the issues for visibility from the original repo: - Merge HubSpot/sortable#54 - Address HubSpot/sortable#46
1 parent 9dcf54f commit 3329a5d

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

README.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
1-
## Sortable
1+
## sortable-table
22

3-
<a href="https://eager.io/app/sortable/install?source=button">
4-
<img src="https://install.eager.io/install-button.png" border="0" width="126">
5-
</a>
3+
### Overview
64

7-
##### [Demo](http://github.hubspot.com/sortable/docs/welcome) &nbsp;&nbsp; [Documentation](http://github.hubspot.com/sortable)
5+
Sortable is an open-source JavaScript and CSS library which adds sorting
6+
functionality to tables. It is tiny (`<2kb` min+gzip) and has no dependencies.
87

9-
Sortable is an open-source JavaScript and CSS library which adds sorting functionality to tables. It is tiny (`<2kb` min+gzip) and has no dependencies.
8+
### Fork Status
9+
10+
This is a fork of [HubSpot/sortable](https://github.com/HubSpot/sortable).
11+
Due to a lack of maintenance, I felt it prudent to open a fork.
12+
13+
I will only look at PRs for critical / performance issues - I like the
14+
simplicity of the original.
15+
16+
Changes include:
17+
18+
- Updates dev tooling to latest version (as of Oct 2024).
19+
- Merged Hubspot/sortable#54 - "Fix performance issues with large tables". Thanks @hjacobs for writing this code.
20+
- Addressed Hubspot/sortable#46 - "touch devices fires sorting twice". This if fixed to just use the touchstart event on mobile.
21+
- Addressed a race with the DOM - I didn't file an issue for this one, but the script can run before DOM is ready, meaning the onclick events are not setup. I encoutered this when creating large tables and having the script in the `<head>`.
22+
23+
I will make this available on a CDN for easy access.

0 commit comments

Comments
 (0)