Next.js Discord

Discord Forum

Ai Chat auto scroll as ai model writes

Unanswered
Brown bear posted this in #help-forum
Open in Discord
Brown bearOP
I can't seem to do the auto scroll that you see on every ai chat model, please help

21 Replies

European sprat
works here
Brown bearOP
Yes, i used that template. Somehow i broke it, and i can't fix it since yesterday
And as a "low experienced" developer, i'm asking for some more experience insight to try and locate the problem
Brown bearOP
Yes, i have it like that
But still nothing. I made some ui changes, and i tried to revert/add/move things and still nothing
I changed the prompt-form, could it has something to do with it? As i changed heights and stuff
you can see there the "useInView" function has "rootMargin" so maybe you need to adjust that now that you've changed the prompt form styles
Brown bearOP
Will take a look
And give you feedback
European sprat
good luck
Brown bearOP
this would be
top, bottom, left and right?
or top, right, bottom, left?
Brown bearOP
@European sprat no, nothing
Could you check my code out?
European sprat
No sorry
Brown bearOP
No problem, thanks for the help still!