-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(table): auto-collapse expanded row upon clicking another expandable row #793
Conversation
…r-expandable-row-in-table' of /~https://github.com/scania-digital-design-system/tegel into CDEP-3490-Auto-collapse-expanded-row-upon-clicking-other-expandable-row-in-table
Playwright test resultsDetails 391 tests across 132 suites Skipped testssrc/components/table/table/test/expandable-row-autocollapse/expandable-row-autocollapse.e2e.ts › tds-table-expandable-row-autoCollapse › NEEDS FIXING: expanding one row collapses the others when autoCollapse is true |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
packages/core/src/components/table/table-component-expandable-rows.stories.tsx
Show resolved
Hide resolved
….com/scania-digital-design-system/tegel into CDEP-3490-Auto-collapse-expanded-row
…stem/tegel into CDEP-3490-Auto-collapse-expanded-row
Last Thursday before release Nathalie noticed in Storybook that each row was logged upon click on a row. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
… scope management
@nathalielindqvist Thanks for the catch, I have committed a fix for this :) |
packages/core/src/components/table/table-component-expandable-rows.stories.tsx
Outdated
Show resolved
Hide resolved
…r expandable rows
…scroll' to 'auto'
packages/core/src/components/table/table-component-expandable-rows.stories.tsx
Outdated
Show resolved
Hide resolved
…rows.stories.tsx Co-authored-by: Nathalie Lindqvist <nathalie.lindqvist@scania.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Please be mindful when merging if this PR is merged before yours, you might need to rebase again in that case :)
Quality Gate passedIssues Measures |
Describe pull-request
This pull-request adds the possibility for the developer to enable "auto collapse". This means that if its enabled, all other rows except for the row selected will be closed.
Issue Linking:
Choose one of the following options
How to test
Provide detailed steps for testing, including any necessary setup.
Checklist before submission
Suggested test steps