Skip to content

background_color becomes white after mutating animals (basic_table_color example) #76

@chip

Description

@chip

Hi, To demonstrate this unexpected behavior, I've made a small change below the cell_rows declaration to examples/basic_table_color.rb in 0.12.6:

        on_row_clicked do
          animals << AnimalPresenter.new('sheep', 'bah', true)
        end

Running the example displays as expected:
Screenshot 2025-01-12 at 10 28 50 AM
However, after clicking a row, the background color is set to white:
Screenshot 2025-01-12 at 10 29 03 AM
I'm not sure if this is a bug, but it was unexpected. Is there a way to have background_color called to refresh the table colors? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions