Skip to content

#5543 Fix home database table scrolling#6124

Open
roshil1206 wants to merge 1 commit into
redis:mainfrom
roshil1206:fe/bugfix/5543/home-table-scroll
Open

#5543 Fix home database table scrolling#6124
roshil1206 wants to merge 1 commit into
redis:mainfrom
roshil1206:fe/bugfix/5543/home-table-scroll

Conversation

@roshil1206

@roshil1206 roshil1206 commented Jun 28, 2026

Copy link
Copy Markdown

What

Fixes the Redis Databases table on the Home screen so users can scroll through the full database list.

The table previously used a fixed maxHeight="60rem" value, which could overflow the available page area and cause lower rows to be clipped on smaller screens. This change lets the table use the available Home page height and keeps vertical overflow inside the table viewport.

The Home page layout was also adjusted so the page body and database list container can shrink correctly within the available viewport height. This allows the Redis UI table’s internal scroller to handle long database lists instead of the page clipping the table content.

Closes #5543


Note

Low Risk
Home-page layout and table height styling only; no auth, data, or API changes.

Overview
Fixes clipped rows on the Home Redis Databases table by sizing the table to the available page height instead of a fixed 60rem cap.

DatabasesList passes style={{ maxHeight: '100%' }} to the shared Table so height follows its flex parent rather than overflowing on shorter viewports.

Home layout CSS adds min-height: 0 on .RI-page-body and switches .homePage from height: calc(100% - 60px) with page-level overflow-y: auto to a flex child (flex: 1 1 auto, min-height: 0, overflow: hidden) so the list area shrinks within the viewport and the table’s internal scroller owns vertical overflow.

Reviewed by Cursor Bugbot for commit e563987. Bugbot is set up for automated code reviews on this repo. Configure here.

@roshil1206 roshil1206 requested a review from a team as a code owner June 28, 2026 19:27
@CLAassistant

CLAassistant commented Jun 28, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jit-ci

jit-ci Bot commented Jun 28, 2026

Copy link
Copy Markdown

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e563987b6e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

onPaginationChange={handlePaginationChange}
defaultSorting={DEFAULT_SORTING}
maxHeight="60rem" // this enables vertical scroll
style={{ maxHeight: '100%' }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Pass maxHeight to Table to keep scrolling enabled

When the Home list is taller than the available viewport, this no longer uses the Redis UI Table maxHeight prop that creates/sizes the table's internal scroll area; it only applies a plain CSS max-height to the outer component. Since this commit also changes .homePage to overflow: hidden, rows beyond the available height can be clipped instead of scrollable. Keep the height constraint on the table API, e.g. maxHeight="100%", rather than moving it into style.

Useful? React with 👍 / 👎.

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.

[Bug]:We can't able to scroll

2 participants