Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes the appview div empties #327

Open
tlonic opened this issue Dec 2, 2020 · 1 comment
Open

Sometimes the appview div empties #327

tlonic opened this issue Dec 2, 2020 · 1 comment

Comments

@tlonic
Copy link

tlonic commented Dec 2, 2020

From time to time, when I switch interfaces, the interface is blank. Looking at the source, the appview div has been emptied. I'm on Chrome 87 and Firefox.

This is one way I'm able to replicate this, although I'm not sure if it will work for you.

  1. Open app.dative.ca, already logged into a server
  2. Go to Corpora > Browse
  3. Select a corpus
  4. Go to More Controls
  5. Select Browse Corpus.
  6. Go to Corpora > Browse

For me, this results in an empty appview div.

@tlonic
Copy link
Author

tlonic commented Dec 10, 2020

The issue comes from an infinite loop which is triggered at line 676 of app.coffee:

$appView = @$ '#appview'
$appView.css 'overflow-y', 'initial'
@visibleView.setElement $appView
@visibleView.render taskId

@visibleView.setElement $appView never ends, so render never runs, leaving the appView empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant