Question · Vibe coding with Claude Code course · Module 13: Twitch clone

Quiz: chat scrolling

A viewer scrolled the chat up to read an older message, and a new one arrives. What does the LiveChat from the lesson do?

Answer options

  • It always scrolls the list to the very bottom
  • It removes older messages so the new one is visible
  • It blocks the input field until the viewer returns to the bottom
  • It leaves the viewer in place, because stickToBottom is false when the list is not scrolled to the end

You can check the correct answer by solving this task in the CodeWorlds game.