Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught TypeError: Cannot read property 'rememberFocus' of null #1490

Description

@drguthals

[Enter steps to reproduce:]

  1. Made Changes
  2. Staged Commits
  3. Added @smashwilson as a co-author (wasn't auto-filled)
  4. Clicked "Add Co-Author"
  5. Error Appears
  6. Co-author still listed there
  7. Committed changes
  8. Co-author still populating the co-author space
  9. Didn't actually commit - but that might be due to the auth (https://github.com/github/atom.io/pull/1249)

Atom: 1.28.0-beta1 x64
Electron: 2.0.1
OS: Mac OS X 10.13.4
Thrown From: github package 0.15.2

Stack Trace

Uncaught TypeError: Cannot read property 'rememberFocus' of null

At /Users/sarahguthals/.atom/packages/github/lib/controllers/git-tab-controller.js:315

TypeError: Cannot read property 'rememberFocus' of null
    at GitTabController.rememberLastFocus (/packages/github/lib/controllers/git-tab-controller.js:315:35)
    at AutosizeInput.focus (/packages/github/node_modules/react-input-autosize/lib/AutosizeInput.js:173:15)
    at Select.focus (/packages/github/node_modules/react-select/lib/Select.js:278:15)
    at refCoAuthorSelect.map.c (/packages/github/lib/views/commit-view.js:352:41)
    at RefHolder.map (/packages/github/lib/models/ref-holder.js:70:14)
    at CommitView.setState (/packages/github/lib/views/commit-view.js:352:30)
    at Rf (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:143:60)
    at Sf (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:144:304)
    at Xh (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:219:152)
    at Rh (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:211:414)
    at Uh (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:210:278)
    at Sh (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:210:113)
    at interactiveUpdates (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:225:398)
    at Jd (/packages/github/node_modules/react-dom/cjs/react-dom.production.min.js:89:113)

Commands

     -0:33.3.0 core:select-all (input.)
     -0:30.7.0 github:co-author:enter (input.)
     -0:29.6.0 core:focus-next (input.input-text.github-CoAuthorForm-name)

Non-Core Packages

teletype 0.13.3 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions