Behind the feature: comments, contextually
Adding general and contextual (canvas-anchored) comments to Figma Community files turned out to be harder on interaction design than on code reuse. A bug bash surfaced UX problems that led to a lightbox-style modal replacing a fullscreen view that was easy to enter but hard to leave, plus pin icons, "See in context" hints and a scroll-back button for contextual comments in the feed. On the frontend, smooth panning between comment locations came from exposing animation parameters in Figma's Skew-based viewer. The hover expansion avoids canvas re-renders by keeping the viewer at full size and shrinking an overlaid border mask, and an intermediary state converts coordinates so CSS can animate the switch from absolute to fixed positioning.
Related posts
- Version control: Three ways Figma explored horizontal scrolling
Figma mediumAdept
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.
- A conversation with Figma's accessibility team
Figma easyNovice
Figma's accessibility engineers and PM reflect on shipping screen reader support for prototypes and a FigJam beta. Open-beta feedback showed the feature worked in VoiceOver but needed fixes for JAWS and NVDA. Low-vision users also rely on visuals alongside the screen reader, so the team added positioning data to the accessibility tree, focus-triggered hover interactions, scroll-following, and focus-aware toolbar hiding. For FigJam, designs are translated into HTML with accessibility metadata, and reading order now uses a spatial heuristic that reads left-to-right and top-to-bottom while keeping sticky clusters together, borrowed from find-and-replace. Open problems include announcing real-time collaborative changes and giving designers control over the generated semantic HTML.
- Building accessibility into a canvas-based product
Figma mediumAdept
Because Figma renders its canvas itself rather than through HTML, the browser's accessibility tree is nearly empty, so Figma rebuilt accessibility with a hidden but laid-out "Mirror DOM" synced to the scenegraph. It rests on four pieces: an incrementally updated internal accessibility tree of per-layer accessible summaries, a recursive React component that renders ARIA-labelled elements positioned via concatenated affine transforms, two-way sync between canvas selection and keyboard focus, and ARIA live-region announcements that merge repeated events like nudges into one message. Mirror DOM elements are deliberately not visually-hidden, so magnifiers, focus outlines and voice control still get correct spatial positions.
- Building Custom Animations in the Workflow Builder
Slack Engineering mediumAdeptSlack'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. A custom context provider holds drag state fed by the library's responders. On top of that the team built several workarounds: custom transforms to re-center differently sized steps, DOM-measured dynamic placeholders the library doesn't support, and a velocity-based tilt effect driven by requestAnimationFrame. A key lesson was hiding hint boxes in onBeforeCapture rather than onBeforeDragStart, because only the former runs before the library measures the DOM.
- From Intern Project to Production: How I Shipped the Draw Tool for Canva's Present Mode
Canva Engineering mediumAdeptBringing Canva's editor draw tool into present mode required three fixes: extracting the editor-coupled draw logic into a new shared package with interfaces between shared classes and domain-specific implementations (Open/Closed Principle), normalizing stroke coordinates so drawings stay correctly positioned and scaled across Presenter View's presenter and audience windows, and lazy loading the draw tool with code splitting. The lazy loading cut the presentation load-time regression from 7% to 0.24%. The feature started as an intern proof of concept and now sees about 470K monthly active users.