---
title: "Version control: Three ways Figma explored horizontal scrolling"
description: "Adding horizontal scrolling to Figma's Layers panel was harder than expected because the list is virtualized (only visible rows render), rows are interactive (hide, lock, collapse, rename), and layer names vary in length."
url: "https://swe.quest/articles/version-control-three-ways-figma-explored-horizontal-scrolling-b5d14a196ba742eb"
canonical: "https://www.figma.com/blog/version-control-three-ways-figma-explored-horizontal-scrolling/"
source: "Figma"
published: "2025-04-16"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["frontend","product-engineering","react"]
---

# Version control: Three ways Figma explored horizontal scrolling

A post on [Figma](https://swe.quest/sources/figma.md), published 2025-04-16, 7 min read, Case study. Original: [https://www.figma.com/blog/version-control-three-ways-figma-explored-horizontal-scrolling/](https://www.figma.com/blog/version-control-three-ways-figma-explored-horizontal-scrolling/)

## Summary

Adding horizontal scrolling to Figma's Layers panel was harder than expected because the list is virtualized (only visible rows render), rows are interactive (hide, lock, collapse, rename), and layer names vary in length. Three prototypes were rejected: sticky edge icons for out-of-view parents, which needed opaque backgrounds that clashed with the row structure; full auto-scroll to a selected layer, which disoriented users; and a rename text box that expanded while scrolling, which flickered because resizing was done in JavaScript. The shipped design leaves blank space above visible layers and resets an in-progress rename on scroll. It auto-scrolls only when a selected layer overflows the left edge by 50px or more, using an invisible render of unrendered rows to measure them for precise alignment.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)
- [React](https://swe.quest/tags/react.md) (Web & mobile)

## Prerequisites

- list virtualization ([easy posts on Virtualization](https://swe.quest/tags/virtualization.md?difficulty=easy))
- React UI basics ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))

## Keywords

Figma, UI3, Layers panel, virtualization

## Related posts

- [Behind the feature: comments, contextually](https://swe.quest/articles/behind-the-feature-comments-contextually-600ba48168833f50.md): Figma · 2021-03-09 · Medium · 11 min read · Frontend, CSS, Product engineering
  Adding general and contextual (canvas-anchored) comments to Figma Community files turned out to be harder on interaction design than on code reuse.
- [Behind the feature: Find and replace](https://swe.quest/articles/behind-the-feature-find-and-replace-2ebc376de57a3841.md): Figma · 2022-10-06 · Easy · 9 min read · Product engineering, Search, Algorithms
  Find and replace in Figma and FigJam turned out to be far harder than a search bar because canvas content is multi-directional, so result ordering had to be designed rather than inherited.
- [Improving performance in the layers panel](https://swe.quest/articles/improving-performance-in-the-layers-panel-1cd0d897a08e1393.md): Figma · 2026-06-11 · Medium · 8 min read · Performance engineering, Frontend, Caching, Data structures
  Figma rebuilt its layers panel to fix two problems: it computed data for every expanded node, and it recomputed everything after any change.
- [A conversation with Figma's accessibility team](https://swe.quest/articles/a-conversation-with-figma-s-accessibility-team-4d7c0aee064f1f20.md): Figma · 2022-11-17 · Easy · 9 min read · Accessibility, Frontend
  Figma's accessibility engineers and PM reflect on shipping screen reader support for prototypes and a FigJam beta.
- [Building Custom Animations in the Workflow Builder](https://swe.quest/articles/building-custom-animations-in-the-workflow-builder-94f541be651a6e1e.md): Slack Engineering · 2023-12-05 · Medium · 7 min read · React, Frontend, Product engineering
  Slack's Workflow Builder added drag-and-drop from a new steps sidebar into workflows by moving react-beautiful-dnd's DragDropContext to wrap the whole builder page, with two draggable/droppable lists.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
