You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
Regression: DateFilter state management issues from #66 have returned #72
This is a regression of issue #66 which was previously fixed. The DateFilter component is again experiencing state management issues that cause unexpected behavior when switching between modes and filter types.
Steps to Reproduce
Issue 1: Filter type resets to 'equals'
Open DateFilter in relative mode
Enter a value (e.g., 'today')
Switch filter type to 'before'
Click Apply
Result: Filter type immediately resets back to 'equals'
Try changing to 'before' or 'inRange' again
Result: Keeps reverting to 'equals'
Issue 2: Cannot switch from relative to absolute mode
Open DateFilter in relative mode with 'today' entered
Try to toggle to absolute date mode
Result: Mode switches back to relative automatically
Try to delete 'today' from the input
Result: 'today' reappears
Expected Behavior
Filter type selections (equals, before, after, inRange) should persist when applied
Mode switching between relative and absolute should work without reverting
This issue has been resolved by PR #102 (Release v0.2.0-rc3). The DateFilter component has been completely rewritten using the headless UI pattern, which eliminated all state management issues including the infinite loops.
The new architecture properly manages state synchronization between the component and AG Grid, preventing the issues that occurred in the previous implementation.
See HEADLESS_RC3_MIGRATION_PLAN.md for implementation details.
Activity
ryanrozich commentedon Jul 15, 2025
This issue has been resolved by PR #102 (Release v0.2.0-rc3). The DateFilter component has been completely rewritten using the headless UI pattern, which eliminated all state management issues including the infinite loops.
The new architecture properly manages state synchronization between the component and AG Grid, preventing the issues that occurred in the previous implementation.
See HEADLESS_RC3_MIGRATION_PLAN.md for implementation details.