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

fix: resizing column action causes order change in BAITable #2831

Merged
merged 1 commit into from
Nov 11, 2024

Commits on Nov 11, 2024

  1. fix: resizing column action causes order change in BAITable (#2831)

    Resolves #2830
    
    Prevents column sorting when resizing columns in BAITable
    
    This PR fixes an issue where users could accidentally trigger column sorting while resizing table columns. It adds a debounced resize state check that temporarily disables click events during and shortly after column resizing operations.
    
    **Implementation details:**
    - Added `isResizing` state to track when a column is being resized
    - Implemented a 100ms debounced version of the resize state
    - Modified click handler to prevent column sorting when resize is in progress
    - Preserved original click behavior when not resizing
    yomybaby committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    a888e3e View commit details
    Browse the repository at this point in the history