react-component / react-component/table

The last column with no width specified is hidden in case of lack of space (fixed layout, scroll.x=true)

Open
#650 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
618
Avg merge
10h 19m
Merged PRs (30d)
2

Description

Reproduction link: https://codesandbox.io/s/goofy-mccarthy-714t3?file=/src/App.js

Preconditions:

  • table-layout: fixed
  • scroll={ x: true }
  • all columns have specified width, the last one - not

Steps to reproduce:

  • Reduce the page size so the half of the table is under the horizontal scroll
  • Scroll horizontal scrollbar to the end

Actual result: the last column "Operations" is hidden
Expected result: "Operations" column is visible.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox reproduction and its src/App.js, using the fixed table layout and horizontal scrolling conditions described in the issue. Trace the table's horizontal scroll behavior when the final column has no width specified; done means the Operations column remains visible after scrolling to the end.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.