simplebar icon indicating copy to clipboard operation
simplebar copied to clipboard

Without add a height how can i get simplebar get work?

Open 3gwebtrain opened this issue 4 years ago • 3 comments

I am creating a popup. so i don't able to add the height in it. Because I don't know the content which is going to placed inside of across multiple team.

so, I created without a height value. all it works. But i am getting browser default scroll bar as well. is there any way to hide it?

https://stackblitz.com/edit/angular-ivy-8sxfsa?file=src%2Fapp%2Fapp.component.css

Live demo shared. please help.

3gwebtrain avatar Sep 03 '20 06:09 3gwebtrain

Hi,

I just tested your example and it works perfectly fine for me. I remove your code that calculated the height as it was breaking it.

https://stackblitz.com/edit/angular-ivy-vxyymg?file=src%2Fapp%2Fapp.component.ts

Grsmto avatar Sep 03 '20 15:09 Grsmto

It actually doesn't work. You get double scrollbars. Here's a video showing the problem using your example:

https://user-images.githubusercontent.com/665281/111661256-416f3600-87e5-11eb-9aab-0e26e8fda65f.mov

yabood avatar Mar 18 '21 16:03 yabood

@3gwebtrain did you manage to solve it in the meantime?

JZubero avatar Oct 12 '22 14:10 JZubero