diff --git a/chat/package.json b/chat/package.json index 8a0c14e799..6af0666095 100644 --- a/chat/package.json +++ b/chat/package.json @@ -1,6 +1,6 @@ { "name": "chat", - "version": "0.1.10", + "version": "0.1.14", "main": "./src/index.tsx", "license": "MIT", "dependencies": { diff --git a/chat/src/App.css b/chat/src/App.css index 378fbaebe3..7f2d3bf7a3 100644 --- a/chat/src/App.css +++ b/chat/src/App.css @@ -1,7 +1,5 @@ html, body { - overflow: hidden; - overscroll-behavior-y: none; } html { @@ -11,7 +9,7 @@ html { body { min-height: 100vh; min-height: calc(var(--vh, 1vh) * 100); - overflow: hidden; + /* overflow: hidden; */ /* mobile viewport bug fix */ min-height: -webkit-fill-available; } diff --git a/chat/src/features/chat/UserInput.tsx b/chat/src/features/chat/UserInput.tsx index 96dbd0f1da..864185b7a2 100644 --- a/chat/src/features/chat/UserInput.tsx +++ b/chat/src/features/chat/UserInput.tsx @@ -84,6 +84,9 @@ export function UserInput() { }, [draft] ); + const handleFocus = useCallback(() => { + builtChatInput.current?.scrollIntoView({ behavior: "smooth" }); + }, []); return (
@@ -118,6 +121,7 @@ export function UserInput() { rows={1} onChange={handleChange} onKeyUp={handleKeyUp} + onFocus={handleFocus} placeholder="Message" autoComplete="off" value={draft} diff --git a/files/assets/images/emojis/marseydownvote.webp b/files/assets/images/emojis/marseydownvote.webp index 2bf9c3680b..1b5f8e8d1d 100644 Binary files a/files/assets/images/emojis/marseydownvote.webp and b/files/assets/images/emojis/marseydownvote.webp differ diff --git a/seed-db.sql b/seed-db.sql index 03281884ab..2d9b4e780e 100644 --- a/seed-db.sql +++ b/seed-db.sql @@ -232,6 +232,8 @@ INSERT INTO public.hat_defs VALUES (733, 'Kanohi Ignika', 'The Mask of Life. Mat INSERT INTO public.hat_defs VALUES (734, 'Kanohi Pakari (Onua)', 'Toa of Earth. The wisdom of the group, but wisdom is useless if you don''t share it. Why is your element separate from Stone? Answer me that, wise guy!', 2, 500, NULL, 1663970191); INSERT INTO public.hat_defs VALUES (735, 'The Yakub', 'Proof that science has, in fact, gone too far', 2, 500, NULL, 1664054894); INSERT INTO public.hat_defs VALUES (737, 'Duel Wielding', 'Oh shit you''re packing? My bad carry on', 2, 500, NULL, 1664088304); + + INSERT INTO public.hat_defs VALUES (3, 'Cat Ears I', 'Mew :3', 2, 500, NULL, 1662167687); INSERT INTO public.hat_defs VALUES (723, 'Hohol', 'Мій предок :)', 2, 500, NULL, 1663892328); INSERT INTO public.hat_defs VALUES (92, 'Top Hat (black)', 'Traditional. Classy. Elegant.', 2, 500, NULL, 1662167687); @@ -883,7 +885,7 @@ INSERT INTO public.hat_defs VALUES (504, 'Iron Crown of Lombardy', 'This isn''t -- Name: hat_defs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: - -- -SELECT pg_catalog.setval('public.hat_defs_id_seq', 737, true); +SELECT pg_catalog.setval('public.hat_defs_id_seq', 739, true); -- @@ -1573,6 +1575,7 @@ INSERT INTO public.marseys (name, author_id, tags, created_utc) VALUES ('marseyglow',2,'fbi mossad cop feds animated glownigger glowie secret service fed atf police cia nsa kgb',NULL), ('marseyglow2',2,'fbi mossad feds agent glownigger reaction glowie fed atf cia nsa',NULL), ('marseyglowaward',2,'medal fbi ribbon animated glownigger retard glowie fed atf cia nsa',NULL), +('marseygoatse',2,'shock bussy troll',1664223119), ('marseygodel',2,'old philosophy glasses history',NULL), ('marseygodfather',2,'wop italy italian dego mafia',NULL), ('marseygodzilla',2,'raptor halloween dinosaur gojira evil bug',NULL), @@ -1849,6 +1852,8 @@ INSERT INTO public.marseys (name, author_id, tags, created_utc) VALUES ('marseymexican',2,'latina latino hispanic fiesta sombrero latinx hombre mexico',NULL), ('marseymfdoom',2,'rapper hip hop hiphop rnb supervillain helmet mask',NULL), ('marseymicrobus',2,'vw van bussy',NULL), +('marseymidsommarchristian',2,'sweden movie film cult a24 scandinavia man cinema bear death kill fire murder torture drug',1664220296), +('marseymidsommardani',2,'sweden movie film cult a24 scandinavia flowers dress happy tears joy woman cinema',1664220186), ('marseymike',2,'disney pixar monsters inc cyclops',NULL), ('marseymiku',2,'hatsune miku pop star concert rave weeaboo music animated singing microphone',NULL), ('marseymilesdavis',2,'jazz saxophone bebop music trumpet brass black',NULL), @@ -2472,6 +2477,7 @@ INSERT INTO public.marseys (name, author_id, tags, created_utc) VALUES ('marseyunpettable',2,'dramamine fashy rightoid chud fashwave altright vaporwave',NULL), ('marseyupmarsey',2,'upvote vote upmarsey arrow reddit up animated',NULL), ('marseyupset',2,'marsey upset tears',1663697961), +('marseyupvote',2,'updoot upmarsey agree yes good based true',1664181430), ('marseyusa',2,'burger patriot america freedom liberty justice love independence freedom guns trump biden state flag',NULL), ('marseyuwuw',2,'fursona furry fursuit',NULL), ('marseyvampire',2,'undead sanguine horror spooky halloween fangs holiday monster',NULL),