Skip to content

Placeholder keeps growing in width #714

@Infradigitaal

Description

@Infradigitaal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions