Skip to content
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

DS-835: Table Sticky Top Bugfix #2559

Merged
merged 4 commits into from Oct 19, 2022
Merged

Conversation

colbytcook
Copy link
Contributor

Summary

Fixed a bug where the sticky top header would go behind the rows.

Details

Removed a unneeded CSS on the tr that was causing this issue.

How to test

Pull down the branch
Navigate to the /pattern-lab/?p=tests-table-support-center page
Scroll down on the table and observe that the top header is sticking

@github-actions github-actions bot added the type: feature List this PR in the 'Features' section of the release notes. label Oct 18, 2022
@colbytcook colbytcook temporarily deployed to feature/DS-835-table-sticky-bug--branch-preview October 18, 2022 18:30 Inactive
packages/elements/bolt-table/src/table.scss Outdated Show resolved Hide resolved
packages/elements/bolt-table/src/table.scss Outdated Show resolved Hide resolved
@colbytcook colbytcook temporarily deployed to feature/DS-835-table-sticky-bug--branch-preview October 18, 2022 20:54 Inactive
@colbytcook
Copy link
Contributor Author

@danielamorse @MarcinMr I added the min-width :0 to the .l-bolt-site > *:only-child selector to fix the bug. Can you please review again?

@colbytcook colbytcook had a problem deploying to feature/DS-835-table-sticky-bug--d1f48a9--commit-preview October 19, 2022 11:17 Failure
Copy link
Collaborator

@MarcinMr MarcinMr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like horizontally scrolling responsive behavior works for the table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature List this PR in the 'Features' section of the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants