salesforce / salesforce/design-system-react
DataTable: Use fit for resizable mode
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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