Skip to content

Layout doesn't resize when settings are toggled #3027

Closed

Description

@mhkeller

Bug Report

Steps to Reproduce:

This is reproducible on the Perspective website.

  1. Go to the file example: https://perspective.finos.org/block/?example=file
  2. Upload this example csv (or any csv but it helps to see it on one with only a few columns)
  3. Toggle the settings on and off

Expected Result:

I expect the gray bottom border separating the table headers from the cells to extend all the way to the right of the viewer as it did before toggling the settings

Actual Result:

A vertical line persists after the last column header and the bottom border stops at the end of the last column column header instead of going all the way to the right

Environment:

Tested on 3.7.0 on the Perspective website
Version 138.0.7204.93 (Official Build) (arm64)
MacOS 15.5

Additional Context:

It is fixed by resizing after settings are toggled

viewer.addEventListener('perspective-toggle-settings', () => {
  viewer.resize();
});

Video: https://github.com/user-attachments/assets/18769b3d-9047-49ab-8a53-d0b306bd5738

Activity

  1. texodus commented on Aug 13, 2026

    @texodus
    Member

    I would never have figured this out without the video :)

    I don't know when this was fixed, but I know when it was covered by test and will not break again #3204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions