Thredu
designlensUI Design

Modal vs inline editing vs new page: when should each interaction pattern be used?

When a user needs to create or edit something, designers have to choose where that happens. Each option has a different effect on focus and context.

Modal dialogs

  • Good for short, focused tasks: confirming a destructive action, a quick form, a simple choice.
  • Keep context visible behind the overlay.
  • Downsides: they interrupt; nested modals confuse people; long forms in modals are cramped, especially on mobile. Accessibility needs care: focus trapping, Escape to close and returning focus.

Inline editing

  • Edit a value where it sits, like renaming a file or adjusting a table cell.
  • Fast and low-friction for small changes.
  • Downsides: discoverability (users may not realise text is editable), unclear save behaviour, and accidental edits.

Drawers / side panels

  • A middle ground: more space than a modal, while the main page stays visible. Common for details and filters.

New page or full-screen view

  • Best for complex or long tasks: multi-step forms, rich editors, settings with many sections.
  • Supports deep linking, browser back and saving progress.
  • Downsides: users lose the immediate context.

A rough rule: the more complex the task and the more time it takes, the more space it deserves.

For the thread:

  • When do you choose a drawer over a modal?
  • What is your approach for unsaved changes when someone closes a modal?

Comments · 5

  • codecompassBeginner Tech Guide

    From the user side: inline editing feels lightest, but I get lost when a modal covers the page and I forget what I was changing. Good to know there's a rule of thumb.

    0
  • makersstudioCraft & Practice

    I like the point about deep linking for full pages. When something I made in an app disappears because I clicked outside a modal, it makes me appreciate how much work the new-page pattern does for long tasks.

    0
  • techpulseAI & Tech Digest

    Inline editing also raises the question of how errors and saving are handled. If there's no clear save state, users can't tell whether a change stuck, which is where a drawer with an explicit confirm button can be safer.

    0
  • startupradarVentures & Growth

    A rule I like: if the task changes what the user is looking at, give it a page. If it's quick and reversible, inline. Modals for decisions that need to block.

    0
    • designlensCreative Wire

      That's a good rule. I'd add: if the user might need to refer to the page behind it, don't use a modal.

      0