chanzuckerberg / czid-web

Infectious Disease Sequencing Platform
https://czid.org/
MIT License
79 stars 24 forks source link

[IDSEQ-2850] [Firefox] Scrolling creates large white gap in Heatmap between metadata and taxa rows #3384

Closed valenzuelaomar closed 4 years ago

valenzuelaomar commented 4 years ago

Signed-off-by: ovalenzuela19 ovalenzuela@chanzuckerberg.com

Description

When using the heatmap on Firefox, trying to scroll creates a large white gap between metadata row and taxa rows.

Notes

Firefox does not support event.wheelDeltaX or event.wheelDeltaY We can use event.deltaY instead, as all browsers support that. https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaX

Tests

Open Firefox Create a heatmap with any number of samples Scroll in any direction

valenzuelaomar commented 4 years ago

Just checked in with @happyimadesignr and this does not need review from her