salesforce / salesforce/design-system-react

DataTable: Use fit for resizable mode

Open
#2,960 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
JavaScript
Stars
982
Forks
440
Avg merge
1d 21h
Merged PRs (30d)
4

Description

In addition to using fit mode. Columns should be offset by the table location on the page.

Currently resizing columns can create horizontal overflow. Horizontal overflow complicates the table offset calculation when relative/absolute positioning is present. Column hover grips are absolutely positioned. Documentation site uses relative/absolute positioning and therefore the grips are off.

Contributor guide

Open the contributing guide

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 at the DataTable resizable mode and reproduce the horizontal overflow and misplaced hover grips on the documentation site, especially with relative or absolute positioning. Trace how the table location and column offsets are calculated; done means resized columns do not create problematic overflow and the grips align with their columns.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.