Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

91
Views
Scrollbar not tracking down when new content is added

Scroll bar does not track down when a long paragraph is input. The scrollbar should go all the way down and stay down as the user sends messages.

This is the parent div and the chat feed div:

     <div className="flex flex-col justify-between h-full" data-cy="chatThread">
          <div className="sticky top-0 bg-primaryBg">
            <SidePanelHeader onDismiss={handleChatToggle} alignChildren="left">
              <button className="flex items-center pl-2" onClick={showActiveChats}>
                <span className="mr-1">
                  <Icon svg={LeftArrow} size={10} color="accentText" />
                </span>
                Back to All chats
              </button>
            </SidePanelHeader>
            <ChatGroups
              chatId={chatId}
              isMyParty={isMyParty}
              isTeamMeeting={meeting?.type?.key === 'team-meeting'}
              chatGroupParties={chatGroupParties}
              dmParticipant={dmParticipant ? dmParticipant[0] : undefined}
            />
          </div>
     </div>

      {/* Chat Feed*/}
          <div
            className={classNames('flex flex-auto flex-col overflow-y-auto p-3', {
              'bg-red-100': !isMyParty && meeting?.type?.key !== 'team-meeting',
            })}
            data-cy="chatThread-feed"
          >
            {mergedMessagesAndParticipantsInThread().map((chatBubble, index) => (
              <ChatBubble
                participants={allParticipantsFlat}
                prevBubble={getMessages()[index - 1]}
                bubble={chatBubble}
                index={index}
                key={chatBubble.ts}
                ref={scrollToRef}
              />
            ))}
          </div>

Here is a screenshot of the scroll bar not tracking down when a large block of text is entered.

An image showing the scroll bar not tracking down when a large block of text is entered.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!