Skip to content

fix: resolve state modification during view update warning (#72)#74

Merged
NuPlay merged 1 commit intomainfrom
fix/issue-72-state-modification
Aug 28, 2025
Merged

fix: resolve state modification during view update warning (#72)#74
NuPlay merged 1 commit intomainfrom
fix/issue-72-state-modification

Conversation

@NuPlay
Copy link
Copy Markdown
Owner

@NuPlay NuPlay commented Aug 28, 2025

#72

  • Remove debounce timer that was causing state modifications during view updates
  • Update frame directly in updateUIView without async operations
  • Defer dynamicHeight updates using DispatchQueue.main.async to avoid SwiftUI warnings
  • Fixes "Modifying state during view update, this will cause undefined behavior" warning

- Remove debounce timer that was causing state modifications during view updates
- Update frame directly in updateUIView without async operations
- Defer dynamicHeight updates using DispatchQueue.main.async to avoid SwiftUI warnings
- Fixes "Modifying state during view update, this will cause undefined behavior" warning
@NuPlay NuPlay self-assigned this Aug 28, 2025
@NuPlay NuPlay added the bug Something isn't working label Aug 28, 2025
@NuPlay NuPlay merged commit 50ab84f into main Aug 28, 2025
@NuPlay NuPlay deleted the fix/issue-72-state-modification branch August 28, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant