eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
286 stars 72 forks source link

Band label rendering issue with multiple ideograms when using annotations #117

Open mtwichan opened 5 years ago

mtwichan commented 5 years ago

The issue is that when using multiple ideograms, the band labels do not render properly. I suspect this is because the band label SVG are all sharing the same CSS class: class="bandLabel bsbsl-<number>". You can see this in action, when the ideograms on the same row, take turns rendering improperly. I created a test case here for you to try: https://github.com/matthewchan15/ideo-test-case/tree/issue-labels-multi

Below is a GIF showing the issue: ideogram-band-labels

eweitz commented 5 years ago

Thanks for reporting the issue, @matthewchan15.