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 failed color range update #2823

Merged
merged 3 commits into from
Nov 7, 2024
Merged

Conversation

wakek
Copy link
Contributor

@wakek wakek commented Nov 4, 2024

This PR fixes the bug reported in #2568. Previously, when editing a number column on the Datagrid, a changed color in the color range component seems to transfer over, without reflecting on the column, to another editable number column if the sidebar is not closed.

This bug occurred due to the component failing to re-render when the props change upon switching from editing one number column to another. The fix ensures this missing re-render occurs now and a test has been implemented to confirm this.

Signed-off-by: Albert Kyei <akyei908@gmail.com>
Signed-off-by: Albert Kyei <akyei908@gmail.com>
Signed-off-by: Albert Kyei <akyei908@gmail.com>
Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Looks good!

@texodus texodus merged commit 8bac523 into finos:master Nov 7, 2024
13 checks passed
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.

2 participants