JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://jscrollpane.kelvinluck.com/script/jquery.jscrollpane.min.js"></script>
<div id="tagDisplay" class="textTagViewer">
     <h4 class="isOpen">Tag display</h4>

    <ul class="detailsSubnav" style="display: block;">
        <li id="tagContainer">
            <div class="scroll-pane">
                 <h5>pattern</h5>

                <p>
                    <br/>A pattern, from the French patron, is a type of theme of recurring events of or objects, sometimes referred to as elements of a set. These elements repeat in a predictable manner. It can be a template or model which can be used to generate things or parts of a thing, Pattern matching is the act of checking for the presence of the constituents of a pattern, whereas the detecting for underlying patterns is referred to as pattern recognition. Alfred North Whitehead (1861-1947), English philosopher and mathematician. Dialogues, June 10, 1943.</p>               <p>
                    <br/>A pattern, from the French patron, is a type of theme of recurring events of or objects, sometimes referred to as elements of a set. These elements repeat in a predictable manner. It can be a template or model which can be used to generate things or parts of a thing, Pattern matching is the act of checking for the presence of the constituents of a pattern, whereas the detecting for underlying patterns is referred to as pattern recognition. Alfred North Whitehead (1861-1947), English philosopher and mathematician. Dialogues, June 10, 1943.</p>               <p>
                    <br/>A pattern, from the French patron, is a type of theme of recurring events of or objects, sometimes referred to as elements of a set. These elements repeat in a predictable manner. It can be a template or model which can be used to generate things or parts of a thing, Pattern matching is the act of checking for the presence of the constituents of a pattern, whereas the detecting for underlying patterns is referred to as pattern...

CSS

/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */
 .jspContainer {
    overflow: hidden;
    position: relative;
}
.jspPane {
    position: absolute;
}
.jspVerticalBar {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 100%;
    background: red;
}
.jspHorizontalBar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: red;
}
.jspVerticalBar *, .jspHorizontalBar * {
    margin: 0;
    padding: 0;
}
.jspCap {
    display: none;
}
.jspHorizontalBar .jspCap {
    float: left;
}
.jspTrack {
    background: #dde;
    position: relative;
}
.jspDrag {
    background: #bbd;
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
}
.jspHorizontalBar .jspTrack, .jspHorizontalBar .jspDrag {
    float: left;
    height: 100%;
}
.jspArrow {
    background: #50506d;
    text-indent: -20000px;
    display: block;
    cursor: pointer;
}
.jspArrow.jspDisabled {
    cursor: default;
    background: #80808d;
}
.jspVerticalBar .jspArrow {
    height: 16px;
}
.jspHorizontalBar .jspArrow {
    width: 16px;
    float: left;
    height: 100%;
}
.jspVerticalBar .jspArrow:focus {
    outline: none;
}
.jspCorner {
    background: #eeeef4;
    float: left;
    height: 100%;
}
/* Yuk! CSS Hack for IE6 3 pixel bug :( */
 * html .jspCorner {
    margin: 0 -3px 0 0;
}


/* DEMO-SPECIFIC CSS */
.scroll-pane {
 	    height: 440px;
 	    overflow: auto;
 	}

.jspDrag{
    border:1px solid green;
}

JavaScript

/* jscrollpane and css borders */

$('.scroll-pane').jScrollPane({
    showArrows: false,
    scrollbarWidth: 11
});