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

Fix sticky workspace row obscuring branch #2212

Merged
merged 2 commits into from
Aug 18, 2022
Merged

Fix sticky workspace row obscuring branch #2212

merged 2 commits into from
Aug 18, 2022

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Aug 18, 2022

Closes #2211

Demo

Screen.Recording.2022-08-18.at.7.00.25.pm.mov

@mattseddon mattseddon added the bug Something isn't working label Aug 18, 2022
@mattseddon mattseddon self-assigned this Aug 18, 2022
@mattseddon mattseddon marked this pull request as ready for review August 18, 2022 09:04
@@ -49,7 +49,7 @@ export const TableHead = ({
if (wrapperHeight) {
setTableHeadHeight(wrapperHeight)
}
}, [setTableHeadHeight])
}, [setTableHeadHeight, headerGroups])
Copy link
Member Author

Choose a reason for hiding this comment

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

The alternative is to use allHeaders here and wrap its creation in useMemo but I think this is fine.

@sroy3 sroy3 enabled auto-merge (squash) August 18, 2022 14:53
@codeclimate
Copy link

codeclimate bot commented Aug 18, 2022

Code Climate has analyzed commit a7bec92 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.7% (0.0% change).

View more on Code Climate.

@sroy3 sroy3 merged commit e46d42d into main Aug 18, 2022
@sroy3 sroy3 deleted the fix-sticky-workspace branch August 18, 2022 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sticky workspace row can obscure branch record
2 participants