fix: dropdown closes on clicking outside

This commit is contained in:
Siddhant Rai
2024-06-21 23:35:03 +05:30
parent ec5363e9c1
commit e16e269775
3 changed files with 37 additions and 3 deletions

View File

@@ -195,7 +195,7 @@ export default function Conversation() {
<div
onWheel={handleUserInterruption}
onTouchMove={handleUserInterruption}
className="flex h-[90%] w-full justify-center overflow-y-auto p-4 md:h-[84vh]"
className="flex h-[90%] w-full justify-center overflow-y-auto p-4 md:h-[83vh]"
>
{queries.length > 0 && !hasScrolledToLast && (
<button