fix modals and publishers list filter zindex

This commit is contained in:
Dobromir Popov
2024-05-12 00:14:56 +03:00
parent e987b0028c
commit a392022499
4 changed files with 32 additions and 28 deletions

View File

@ -127,7 +127,7 @@ function PublisherSearchBox({ id, selectedId, onChange, isFocused, filterDate, s
) : null}
{showList ? (
// Display only clickable list of all publishers
<ul className="absolute bg-white border border-gray-300 w-full z-10">
<ul className="absolute bg-white border border-gray-300 w-full z-10 overflow-y-auto">
{publishers.map((publisher) => (
<li key={publisher.id}
className="p-2 cursor-pointer hover:bg-gray-200"
@ -136,8 +136,9 @@ function PublisherSearchBox({ id, selectedId, onChange, isFocused, filterDate, s
</li>
))}
</ul>
) : null}
</div>
) : null
}
</div >
);
}