Skip to content

Scroll into view broken - causes crash #125

@cmartin-kavlifoundation

Description

This morning after a week of running properly, the most recent version started crashing upon reaching the secure allocation screen with:
(node:15727) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'scrollIntoView' of null

I commented out line 144:
// nextElem.scrollIntoView();

then recompiled and re-ran and the bug went away. So now the app is searching successfully again. I'm going to do some research to see if the scrolling function changed overnight somehow, but in the interim commenting that line out seems to be enough.

I'm running on MacOS with the most up to date version using git to pull off of the master branch. I've made some local tweaks to the code to default to a specific date search, but none of that should have been related to this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions