My textarea will expands til a specific height, after that I want to show PerfectScrollbar. It was applied by functionality(Textarea is scrolling) but scrollbar is not visible(hidden).
I have added the below code in my textarea's keydown event.
$(element).perfectScrollbar({
minScrollbarLength: 40,
maxScrollbarLength: 80
});