Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions draftlogs/6605_fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix heatmap rendering on Safari when `zsmooth` is set to false [[#6605](https://github.com/plotly/plotly.js/pull/6605)], with thanks to @lvlte for the contribution!
3 changes: 2 additions & 1 deletion src/lib/supports_pixelated_image.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ function supportsPixelatedImage() {
if(_supportsPixelated !== null) { // only run the feature detection once
return _supportsPixelated;
}
if(Lib.isIE()) {
if(Lib.isIE() || Lib.isSafari() || Lib.isIOS()) {
// NB. Safari passes the test below but the final rendering is not pixelated
_supportsPixelated = false;
} else {
var declarations = Array.from(constants.CSS_DECLARATIONS).reverse();
Expand Down