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

Feature/table footer fixed #280

Merged
merged 3 commits into from
Aug 1, 2020
Merged

Feature/table footer fixed #280

merged 3 commits into from
Aug 1, 2020

Conversation

rathorevaibhav
Copy link
Contributor

Summary

Position fixed for pagination tab and transparent background. make it stick to the bottom in case there are rows more than visible window height.

Test Plan

Not needed

@rathorevaibhav rathorevaibhav requested a review from kurund August 1, 2020 09:15
@rathorevaibhav rathorevaibhav self-assigned this Aug 1, 2020
@rathorevaibhav rathorevaibhav added this to the v0.2 milestone Aug 1, 2020
useEffect(() => {
var html = document.querySelector('html');
if (html && html.scrollHeight > html.clientHeight) {
setTableFooterStyle(undefined);
Copy link
Contributor

Choose a reason for hiding this comment

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

Setting "undefined" does not look correct. Can you please explain the logic.

@kurund kurund merged commit dcb180b into master Aug 1, 2020
@kurund kurund deleted the feature/table-footer-fixed branch August 1, 2020 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

- [ ] Let's fix this pagination to the bottom of the page. Also the background colors don't match.
2 participants