calipho-sib / feature-viewer

Library to visualize protein sequence features in javascript using D3 - From SIB CALIPHO group; neXtProt project
http://calipho-sib.github.io/feature-viewer/examples/
Other
112 stars 32 forks source link

[Bug] Extra space beneath a track with a pile of rect's #32

Closed alephreish closed 4 years ago

alephreish commented 6 years ago

When the number of rect elements in a track piled on top of each other exceeds ~35, the space beneath starts increasing disproportionally, such that at ~100 half of the track is white space:

https://jsfiddle.net/har_wradim/yh89nodj/

alephreish commented 6 years ago

OK, it seems that the bug is slightly different: the white space appears because of incorrect clipping applied to the track's rectangle. Thus, bottommost items become hidden and white space is left behind.

MatSchaeff commented 4 years ago

Hello har-wradim, Sorry for the late reply, do you still have this problem ? From the jsfiddle you provided I couldn't see where the problem was.