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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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>
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.

1 participant