DataTable: Use fit for resizable mode

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

stale

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.

Dominant language
JavaScript
Stars
994
Forks
444
Avg merge
3d 23h
Merged PRs (30d)
44

Getting set up

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.

More from salesforce/design-system-react

All issues in salesforce/design-system-react

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.