simplebar-placeholder responsiveness broken again

Created on 22 Jun 2020  路  2Comments  路  Source: Grsmto/simplebar

Describe the bug
In responsive flexbox grids, when the browser is resized, the simplebar-placeholder grows in width and the element responds as expected. However, whenever the browser is reduced in width, the simplebar-placeholder element width remains unchanged, resulting in a non-responsive website.

I found the same issue reported in #339 some time ago but as I saw it was closed I begun checking in which version it broke again. I found it was working correctly until [email protected] / [email protected]. All versions after that one have the bug.

Fast fix
By checking [email protected] I can see the placeholder used to have css width: auto. This fixes the current bug, but I'm not sure if it creates another. I guess you added a fixed width to the placeholder for a reason.

Your environment

| Software | Version(s) |
| ---------------- | ---------- |
| simplebar-vue | 1.5.1
| SimpleBar | 5.2.1
| Browser | Chrome/Safari
| npm/Yarn | npm
| Operating System | macOS 10.15.5

bug

Most helpful comment

@Grsmto @luisjoserivera is this bug still around or is it perhaps fixed in later versions?
We are currently stuck at v4.2.2 as a result of this bug.
Thanks for your help :)

All 2 comments

Same issue here!

@Grsmto @luisjoserivera is this bug still around or is it perhaps fixed in later versions?
We are currently stuck at v4.2.2 as a result of this bug.
Thanks for your help :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EmilMoe picture EmilMoe  路  4Comments

idiotWu picture idiotWu  路  3Comments

luky1984 picture luky1984  路  5Comments

adsim picture adsim  路  5Comments

JoshClose picture JoshClose  路  7Comments