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

Placeholder keeps growing in width #714

Open
Infradigitaal opened this issue Jan 26, 2025 · 0 comments
Open

Placeholder keeps growing in width #714

Infradigitaal opened this issue Jan 26, 2025 · 0 comments

Comments

@Infradigitaal
Copy link

Infradigitaal commented Jan 26, 2025

Describe the bug
using simplebar - v6.2.7 (core)

I created a rem-based zoom of my content.
Basically, I have a list which has a scroll. Whenever I shrink the fontsize, ironically enough, the placeholder grows in width. It keeps growing well beyond the max-width of the parent container.

This issue seems to be similar to issue #253

To Reproduce
Steps to reproduce the behavior:

  1. Create a div with simplebar, width based on REM
  2. Fill it with some lines of text
  3. Change the document's base font size (from 32px to 16px for example)
  4. See error

Expected behavior
For the div to resize properly

Additional context
I have temporarily fixed it by using overflow-x: hidden on the element in question, though I'm not sure I won't need it again in the future.

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