Hi! If you want to show the scrollbar only when needed, you should use the value "auto" for the overflow-y property. So overflow-y: auto should set it visible only when needed.
That's weird, it should work straight out of the box just with the overflow-y: auto. I am afraid it is hard to tell the issue without any code example.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! If you want to show the scrollbar only when needed, you should use the value "auto" for the overflow-y property. So
overflow-y: auto
should set it visible only when needed.I did the same what you have said but then also I can see scrollbar. What would be the issue?
That's weird, it should work straight out of the box just with the
overflow-y: auto
. I am afraid it is hard to tell the issue without any code example.