JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrapper">
    <div class="item">
        <div class="viewer">One</div>
    </div>
    <div class="item">
        <div class="viewer">Two</div>
    </div>
    <div class="item">
        <div class="viewer">Three</div>
    </div>
    <div class="item">
        <div class="viewer">Four</div>
    </div>
    <div class="item">
        <div class="viewer">Five</div>
    </div>
    <div class="item">
        <div class="viewer">Six</div>
    </div>
</div>

CSS

.wrapper {
    height: 180px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 400px;
    background-color: red;
    position: relative;
}
.viewer {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 200px;
    background-color: orange;
}
.item {
    width: 200px;
    height: 60px;
    background-color: green;
    cursor: pointer;
    outline: 1px solid black;
}
.item:hover {
    background-color: cornflowerblue;
}
.item:hover .viewer {
    display: block;
}