Adding a track resets genomic coordinates, not maintaining the current zoom status
sehilyi opened this issue · comments
SEHI L'YI commented
I think the issue comes from the fact that the xDomain
defined in a Gosling spec is reused when a track is added. A potential fix would be getting the current genomic coordinates from the higlass spec (e.g., hgRef.current.api.getViewConfig) and putting that information in the Gosling spec. Code that needed to be updated for this fix:
SEHI L'YI commented