maryvilledev / codesplainUI

Web app for breaking down and annotating Python 3 source code.
https://www.codesplain.io
GNU General Public License v3.0
2 stars 2 forks source link

Open annotations don't close when routing to a new snippet #505

Closed thebho closed 7 years ago

thebho commented 7 years ago

Expected Behavior

When loading a saved snippet, the annotation panel should lose it's state from the previous page and the selected line stays in focus.

Current Behavior

An "open" annotation will stay open if I navigate to a different snippet and the codemirror focus should reset to nothing

Browser

Chrome/Safari

Steps to Reproduce (for bugs)

  1. https://dev.codesplain.io/thebho/fizzbuzz-1
  2. Select line 3
  3. Navigate to another snippet from your snippet menu