Skip to content
Snippets Groups Projects

Don't autofocus comment field with content editor

Merged Simon Knox requested to merge psi-no-focus into master
1 unresolved thread

What does this MR do and why?

Autofocus of the textarea on load means shortcut keys don't work (up/down arrows of gitlab shortcuts). Maybe there are some places we want this (expanding discussions?), but not for initial page load.

How to set up and validate locally

  1. Enable the flag
    Feature.enable(:content_editor_on_issues)
  2. Visit any issue or MR
  3. press down arrow

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading