Skip to content

Open second view is broken after visyn script merge #424

@thinkh

Description

@thinkh

Environment

  • Release number or git hash: ec9c918
  • Browser: Chrome 104
  • Deployed / Local: both

Steps to reproduce the bug

  1. https://ordino-daily.caleydoapp.org/app/?
  2. Open a list of genes
  3. Select genes
  4. Open any second view

Observed Behavior

The second view does not open. The dev console shows the following error.

ViewWrapper.ts:343 Uncaught (in promise) TypeError: $app.scrollTo is not a function
    at ViewWrapper.scrollIntoView (ViewWrapper.ts:343:17)
    at ViewWrapper.modeChanged (ViewWrapper.ts:324:12)
    at set mode [as mode] (ViewWrapper.ts:422:10)
    at OrdinoApp.tsx:494:7
    at Array.forEach (<anonymous>)
    at OrdinoApp.focusImpl (OrdinoApp.tsx:484:22)
    at OrdinoApp.tsx:411:53
    at async ActionNode.createViewImpl [as f] (cmds.ts:67:22)

Expected Behavior

Switching to the second view should be possible again without an error.

Thanks for taking the time to fill out this bug report 🤗
Make sure there aren't any open/closed issues for this topic 😃

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions