This happens when while the variants for an initial gene selection are being loaded, the user selects a different gene. When this happens, and multiple clicks occur after the variants are loaded, the application will either 1) very noticeably lag, 2) freeze, or 3) the variants from the main panel disappear completely.
While playing around with this, I got a Chrome tools warning that I was running out of memory. So the solution to issue #1 (culling the variant data coming back) might help to solve this issue as well.
This was solved by:
1) culling variant object properties as much as possible
2) splitting up the loading into batch load and individual variant load
3) clearing cache prior to each gene selection
This happens when while the variants for an initial gene selection are being loaded, the user selects a different gene. When this happens, and multiple clicks occur after the variants are loaded, the application will either 1) very noticeably lag, 2) freeze, or 3) the variants from the main panel disappear completely.
While playing around with this, I got a Chrome tools warning that I was running out of memory. So the solution to issue #1 (culling the variant data coming back) might help to solve this issue as well.