Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Increase trackDirtyStateTimeout #10876

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

jacksleight
Copy link
Contributor

@jacksleight jacksleight commented Oct 1, 2024

We're running into an issue where large publish forms take so long to update the values after save that the dirty state timeout expires before it's finished, triggering an invalid dirty sate and leaving the publish button disabled.

This PR increases the timeout from 350 to 500ms. I know this isn't really a good long-term solution, 500ms is just another "magic number", and a different approach to managing the tracking of dirty state is probably needed, but I'm not too sure what that should be.

@jacksleight jacksleight changed the title Increase trackDirtyStateTimeout [5.x] Increase trackDirtyStateTimeout Oct 1, 2024
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.

1 participant