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

Drag and dropping columns within table settings whilst another columns settings were open caused Budibase to freeze/crash #14021

Open
1 task done
joebudi opened this issue Jun 25, 2024 · 2 comments
Labels
bb-settings bug Something isn't working design User Experience env - production Bug found in production frontend screens

Comments

@joebudi
Copy link
Contributor

joebudi commented Jun 25, 2024

Checklist

  • I have searched budibase discussions and github issues to check if my issue already exists

Hosting
BB Cloud

Describe the bug
I was editing a column's settings (width) within the table settings panel, and whilst the settings panel was still open, I tried to rearrange other columns. Budibase froze, then I tried a refresh, and it crashed.
CleanShot 2024-06-25 at 16 10 22@2x

@joebudi joebudi added the bug Something isn't working label Jun 25, 2024
@aptkingston
Copy link
Member

Had a quick look at this and it seems to be specifically when you have the width setting focused, then try to drag that column somewhere else. Since we only apply the width update on blur, the error seems to happen because the actual width update is applied at the same time as the reordering tries to take place, and makes the draggable list break because you end up with 2 duplicate entries (which breaks the svelte keying).

Nicely spotted - you could definitely get a job in QA if you wanted 😂

@ConorWebb96 ConorWebb96 added frontend design User Experience env - production Bug found in production screens bb-settings labels Jun 26, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bb-settings bug Something isn't working design User Experience env - production Bug found in production frontend screens
Projects
None yet
Development

No branches or pull requests

3 participants