Skip to content

Firefly-1259: Fix Table Header Scroll Bug - #2017

Merged
aventura121 merged 1 commit into
devfrom
FIREFLY-1259-table-header-shift
Sep 21, 2026
Merged

aventura121 merged 1 commit into
devfrom
FIREFLY-1259-table-header-shift

Conversation

@aventura121

@aventura121 aventura121 commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Firefly-1259 "Table header shift to the left after filtering"

Description

The bug here is that the table inherits an overflow: hidden property, which makes the header/rows scrollable to the browser; so, the browser can scroll the header into view directly when focusing to a partially hidden column. (In previous builds like the table in use in NASA's Exoplanet Archive, this behavior was reachable on submit and on tab).

The fix is to set overflow: clip, which removes the scroll container so the browser can't do this from underneath us. This change otherwise preserves existing behavior on tab.

Testing

Build: https://firefly-1259-table-header-shift.irsakubedev.ipac.caltech.edu/firefly

Steps:

  1. Search/load a table, e.g. the suggested Gaia DR3 cone search at M101 (here it is expanded).

  2. Have the rightmost column halfway off the viewport.

  3. Select into the filter input column immediately preceding this rightmost column.

  4. Tab into the the filter input to the right, i.e. click the tab key on your keyboard until the focus/cursor moves into the overflowing input to the right.

  5. Before this change, the header row scrolls.

  6. After this change, the header row does not scroll.

Screen animation showing fix scroll-bug

@aventura121 aventura121 changed the title Firefly 1259 table header shift Firefly-1259: Fix Table Header Scroll Bug Sep 18, 2026
@aventura121 aventura121 self-assigned this Sep 18, 2026
@aventura121 aventura121 added this to the 2026.3 milestone Sep 18, 2026
@aventura121
aventura121 marked this pull request as ready for review September 18, 2026 14:10
@aventura121
aventura121 requested a review from robyww September 18, 2026 14:28

@loitly loitly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m unable to reproduce the reported bug anymore. This PR addresses another related bug, which is a bonus.

@aventura121
aventura121 force-pushed the FIREFLY-1259-table-header-shift branch from 4e23e0d to 5d47e60 Compare September 21, 2026 19:32
@aventura121
aventura121 merged commit c88a14d into dev Sep 21, 2026
1 check passed
@aventura121
aventura121 deleted the FIREFLY-1259-table-header-shift branch September 21, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants