perspective
perspective copied to clipboard
Charts in inactive viewers do not re-render when their filter fields change
Bug Report
Steps to Reproduce:
- Go to Superstore demo: https://perspective.finos.org/block/?example=superstore
- Switch left-hand pane tab to
untitled
viewer - Drag over
untitled
to be a tab in the right-hand pane -
untitled
should now be the active tab in the right-hand pane andSales Report (By State)
should be inactive - Right-click the left-hand pane and select "Create Global Filter"
- Click "Central > Illinois" in the global filter
- Note that
untitled
has become filtered - Switch right-hand pane's active tab to
Sales Report (By State)
- Note that this viewer's filter field is updated as expected
Expected Result:
The right-hand chart should reflect the filter (by showing nothing, in this case, because it doesn't support this particular filter config).
Actual Result:
Rendering is still what it was when the viewer was last active. Screenshot:
Environment:
Perspective 2.10.0