Skip to content

Commit

Permalink
Solved issue akgulebubekir#98
Browse files Browse the repository at this point in the history
Solved issue akgulebubekir#98 Visual issues after scrolling vertically.
  • Loading branch information
mmasdivins authored Apr 6, 2020
1 parent e067488 commit 8e590ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xamarin.Forms.DataGrid/DataGridViewCell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void UpdateBackgroundColor()
if (actualIndex > -1)
{
_bgColor = (DataGrid.SelectionEnabled && DataGrid.SelectedItem != null && DataGrid.SelectedItem == RowContext) ?
DataGrid.ActiveRowColor : DataGrid.RowsBackgroundColorPalette.GetColor(Index, BindingContext);
DataGrid.ActiveRowColor : DataGrid.RowsBackgroundColorPalette.GetColor(actualIndex, BindingContext);
_textColor = DataGrid.RowsTextColorPalette.GetColor(actualIndex, BindingContext);

ChangeColor(_bgColor);
Expand Down

0 comments on commit 8e590ae

Please sign in to comment.