Absolute position taking up parent height
by incutonez
HTML
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css">
<div class="h-full w-full">
<div class="relative overflow-hidden">
<input class="border border-gray-300">
<div class="absolute top-full overflow-auto my-div">
<div class="my-list-item border border-blue-300 relative">
Hello
</div>
</div>
</div>
<div>
Thing!
</div>
</div>
CSS
body, html {
height: 100%;
width: 100%;
position: relative;
}
.my-div {
height: 800px;
}
.my-list-item {
height: 800px;
}