Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(table): auto-collapse expanded row upon clicking another expandab…
…le row (#793) * feat: add possibility to auto collapse rows in table * test(table): added unit and UI tests for autoCollapse * fix(table): make auto collapsed row table uniqe * feat: add possibility to auto collapse rows in table * test(table): added unit and UI tests for autoCollapse * fix(table): make auto collapsed row table uniqe * feat: add possibility to auto collapse rows in table * fix: chaining modeVariant for possible undefined * fix: modify screenshot to be strict when comparing * refactor(table): remove autoCollapse control from storybook * feat: add possibility to auto collapse rows in table * test(table): added unit and UI tests for autoCollapse * fix(table): make auto collapsed row table uniqe * feat: add possibility to auto collapse rows in table * fix: chaining modeVariant for possible undefined * fix: modify screenshot to be strict when comparing * fix(table): simplify auto-collapse attribute usage in expandable rows * fix(table): bug in table stories control update * fix(table-component): update row IDs and improve event logging for expandable rows * fix(table-component): wrap event listener setup in an IIFE for better scope management * fix(table-component): update storybook controls and default values for expandable rows * fix(table-component): update default value for expandable rows from 'scroll' to 'auto' * Update packages/core/src/components/table/table-component-expandable-rows.stories.tsx Co-authored-by: Nathalie Lindqvist <nathalie.lindqvist@scania.com> --------- Co-authored-by: Nathalie Lindqvist <nathalie.lindqvist@scania.com>
- Loading branch information