File tree Expand file tree Collapse file tree
apps/web/src/components/Lobby Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export const CustomWordsDrawer = ({
101101
102102 // Handle Swipe-to-Close for Mobile
103103 const handleDragEnd = ( event : MouseEvent | TouchEvent | PointerEvent , info : PanInfo ) => {
104- if ( info . offset . y > 100 || info . velocity . y > 500 ) {
104+ if ( info . offset . y > 50 || info . velocity . y > 200 ) {
105105 if ( ! isGenerating ) onClose ( ) ;
106106 }
107107 } ;
@@ -209,8 +209,8 @@ export const CustomWordsDrawer = ({
209209 >
210210 < motion . div
211211 drag = "y" // Enables vertical dragging
212- dragConstraints = { { top : 0 , bottom : 0 } } // Prevents dragging upwards
213- dragElastic = { 0.2 }
212+ dragConstraints = { { top : 0 } } // Prevents dragging upwards
213+ dragElastic = { { top : 0 , bottom : 0.8 } }
214214 onDragEnd = { handleDragEnd }
215215 initial = { { y : '100%' } }
216216 animate = { { y : 0 } }
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ export const LobbyScreen = ({
230230
231231 { /* LEFT COLUMN: SETTINGS */ }
232232 < div
233- className = { `flex-1 flex-col gap-6 overflow-y-auto overflow-x-hidden custom- scrollbar md:pr-2 ${ activeTab === 'settings' ? 'flex' : 'hidden md:flex' } ` }
233+ className = { `flex-1 flex-col gap-6 overflow-y-auto overflow-x-hidden scrollbar-none [&::-webkit- scrollbar]:hidden [-ms-overflow-style:none] md:pr-2 ${ activeTab === 'settings' ? 'flex' : 'hidden md:flex' } ` }
234234 >
235235 < div className = "flex justify-between items-center shrink-0" >
236236 < div className = "flex items-center gap-3" >
@@ -670,7 +670,7 @@ export const LobbyScreen = ({
670670 variants = { listVariants }
671671 initial = "hidden"
672672 animate = "show"
673- className = "grid grid-cols-2 min-[400px]:grid-cols-3 md:flex md:flex-col gap-3 mt-4 overflow-y-auto custom- scrollbar pr-1 md:pr-2 pb-2 flex-1 min-h-0 content-start"
673+ className = "grid grid-cols-2 min-[400px]:grid-cols-3 md:flex md:flex-col gap-3 mt-4 overflow-y-auto scrollbar-none [&::-webkit- scrollbar]:hidden [-ms-overflow-style:none] pr-1 md:pr-2 pb-2 flex-1 min-h-0 content-start"
674674 >
675675 < AnimatePresence mode = "popLayout" >
676676 { players . map ( ( p ) => (
You can’t perform that action at this time.
0 commit comments