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

[BUG] - ScrollShadow only appears during scrolling #4867

Open
AnYiEE opened this issue Feb 19, 2025 · 2 comments
Open

[BUG] - ScrollShadow only appears during scrolling #4867

AnYiEE opened this issue Feb 19, 2025 · 2 comments
Assignees

Comments

@AnYiEE
Copy link
Contributor

AnYiEE commented Feb 19, 2025

HeroUI Version

2.7.2

Describe the bug

As mentioned in the title. The issue occurs in components such as Autocomplete and Select, and can be reproduced in the official documentation examples.

Your Example Website or App

https://www.heroui.com/docs/components/autocomplete

Steps to Reproduce the Bug or Issue

  1. Go to https://www.heroui.com/docs/components/autocomplete
  2. Open an Autocomplete example
  3. Shadows are visible when scrolling, but once an item is highlighted, the shadows will disappear.

Expected behavior

Consistent with v2.6 (that is, v2.6 does not have this issue).

Screenshots or Videos

No response

Operating System Version

Windows

Browser

Chrome

Copy link

linear bot commented Feb 19, 2025

@AnYiEE
Copy link
Contributor Author

AnYiEE commented Feb 19, 2025

I don't use virtualization lists, the temporary fix is:

{
	"pnpm": {
		"overrides": {
			"@heroui/shared-utils@<2.1.6": "^2.1.6", // Optional, just because the use-data-scroll-overflow hook fixed its version.
			"@heroui/use-data-scroll-overflow@^2.2.6": "2.2.3"
		}
	}
}

@AnYiEE AnYiEE changed the title [BUG] - ScrollShadow only appears when first opened and during scrolling [BUG] - ScrollShadow only appears during scrolling Feb 19, 2025
@wingkwong wingkwong self-assigned this Feb 20, 2025
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

2 participants