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

Ex: In DarkMode, a blank square appears in bottom right corner while scrolling #26

Open
rajitkhanna opened this issue Jan 18, 2025 · 2 comments

Comments

@rajitkhanna
Copy link
Member

Bug Description

A clear and concise description of what the current behavior is.
Please also add screenshots of the existing application.

Example:

In DarkMode, when scrollbar are displayed (for example on Companies page, with enough companies in the list), we see a blank square in the bottom right corner
[screenshot]

Expected behavior

A clear and concise description of what the expected behavior is.

Example:

The blank square should be transparent (invisible)

Technical inputs

Example:

- We are displaying custom scrollbars that disappear when the user is not scrolling. See ScrollWrapper.
- Probably fixable with CSS
@rajitkhanna
Copy link
Member Author

@greptileai can you help me please

Copy link

To fix the blank square in dark mode: 1. Locate the ScrollWrapper component, likely in src/modules/ui/components/ScrollWrapper.tsx. 2. Find the CSS for the scrollbar in dark mode. Look for styles applied when data-theme='dark' is set. 3. Add background-color: transparent; to the scrollbar track styles for dark mode. 4. If using a custom scrollbar library, check its documentation for theme-specific styling options. 5. Test the fix by scrolling in dark mode on pages with long content, like the Companies page.

About Greptile

This response provides a starting point for your research, not a precise solution.

Help us improve! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

Edit Issue Bot Settings · Greptile

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

No branches or pull requests

1 participant