Skip to content

Fix/formkit memory leak - #242

Open
filiphazardous wants to merge 2 commits into
formkit:masterfrom
filiphazardous:fix/formkit-memory-leak
Open

Fix/formkit memory leak#242
filiphazardous wants to merge 2 commits into
formkit:masterfrom
filiphazardous:fix/formkit-memory-leak

Conversation

@filiphazardous

Copy link
Copy Markdown

Fixes: #180

I work in a large code base using FormKit, and in a big table (with a sticky header, a sticky left column, sorting, free text search, and data cards in modals) we trigger the bug as described pretty easily.

I have one commit adding a test, and one commit with the fix. The test is modeled on the behavior of @formkit/addons.

AI usage disclosure:
I used Github copilot CLI to help diagnose, and write the tests (which I edited somewhat for clarity). After having the problem pointed out to me, I wrote the fix and verified with the test.

I can answer any question you may have about the fix. If you want me to fix it some other way, I am open to suggestions.

I posted a question about whether there is interest in a PR in the support-forum on Discord:
https://discord.com/channels/793529058377072650/1545415305659027456/1545415305659027456
(Also, not that it should matter, but my employer is an enterprise customer.)

Cheers!

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

@filiphazardous is attempting to deploy a commit to the Formkit Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory Leak

1 participant