icflorescu / icflorescu/mantine-datatable
Solve for collapse/expand jank/jitter in safari
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
When expanding and collapsing a semi-complex rowExpansion item in safari, the animation has a lot of jank and does not make it smooth compared to other browsers. Even happens in the doc site: https://icflorescu.github.io/mantine-datatable/examples/expanding-rows/?utm_source=chatgpt.com#using-collapse-function-in-row-expansion-content
Describe the solution you'd like
Tweak the default animation or possibly change layout or component to use more block level component instead of nested tr to match what is out of the box collapse component
Describe alternatives you've considered
None
Additional context
None
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 with the expanding-rows documentation example, especially the Collapse function used in row expansion content, and inspect how the nested tr structure is animated in Safari. Compare the current behavior with the out-of-the-box Collapse component; done means expansion and collapse are smooth in Safari without introducing regressions in other browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100