---
title: "Behind the feature: comments, contextually"
description: "Adding general and contextual (canvas-anchored) comments to Figma Community files turned out to be harder on interaction design than on code reuse."
url: "https://swe.quest/articles/behind-the-feature-comments-contextually-600ba48168833f50"
canonical: "https://www.figma.com/blog/behind-the-feature-figma-community-comments/"
source: "Figma"
published: "2021-03-09"
difficulty: "medium"
kind: "Case study"
reading_minutes: 11
tags: ["frontend","css","product-engineering"]
---

# Behind the feature: comments, contextually

A post on [Figma](https://swe.quest/sources/figma.md), published 2021-03-09, 11 min read, Case study. Original: [https://www.figma.com/blog/behind-the-feature-figma-community-comments/](https://www.figma.com/blog/behind-the-feature-figma-community-comments/)

## Summary

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.

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)
- [CSS](https://swe.quest/tags/css.md) (Web & mobile)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)

## Prerequisites

- CSS positioning ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))
- CSS transitions ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))

## Keywords

Figma, Figma Community, Skew

## Related posts

- [Version control: Three ways Figma explored horizontal scrolling](https://swe.quest/articles/version-control-three-ways-figma-explored-horizontal-scrolling-b5d14a196ba742eb.md): Figma · 2025-04-16 · Medium · 7 min read · Frontend, Product engineering, React
  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.
- [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 accessibility into a canvas-based product](https://swe.quest/articles/building-accessibility-into-a-canvas-based-product-b9de69277feff18d.md): Figma · 2026-07-01 · Medium · 9 min read · Accessibility, Frontend, Browsers, React
  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.
- [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.
- [From Intern Project to Production: How I Shipped the Draw Tool for Canva's Present Mode](https://swe.quest/articles/from-intern-project-to-production-how-i-shipped-the-draw-tool-for-canva-s-bcbf001cbf7cdfac.md): Canva Engineering · 2025-08-06 · Medium · 8 min read · Frontend, Refactoring & migrations, Web performance, Product engineering
  Bringing 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.

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)
