finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
7.72k stars 1.05k forks source link

Color range option in numeric columns does not update when changing edited column style #2568

Open sinistersnare opened 3 months ago

sinistersnare commented 3 months ago

Bug Report

Steps to Reproduce:

  1. Go to the editable example https://perspective.finos.org/blocks/editable/index.html
  2. Select edit on a number column
  3. Change the color range
  4. Click the edit button for a different number column
  5. color range UI did not reset to the range of the newly selected column.

Expected Result:

The color range UI should reflect the column selected.

Actual Result:

perspective_format_ui_render_2.webm perspective_format_ui_render.webm

Environment:

Seen in both Chrome and Firefox

Additional Context:

It only seems to be affecting the color range option, other options are correctly reflected.