timhagn / gatsby-background-image

Lazy-loading React (multi)background-image component with optional support for the blur-up effect.
MIT License
253 stars 49 forks source link

docs(readme): describe old-browser support #162

Closed tillhainbach closed 3 years ago

tillhainbach commented 3 years ago

Description

While using gbimage-bridge on a client's website, I got the feedback that the website crashes on iOS-safari 12. Debugging the issue in a simulator, I found out that the String.prototype.matchAll-polyfill was missing (undefined is not a function...). Took me a while, to figure out it, the fix was as easy as just importing core-js. So, to spare others the pain, here's a readme-update PR

codecov[bot] commented 3 years ago

Codecov Report

Merging #162 (8ffbaaa) into main (1516523) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #162   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines          853       853           
  Branches       370       370           
=========================================
  Hits           853       853           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1516523...8ffbaaa. Read the comment docs.

tillhainbach commented 3 years ago

@timhagn: here you go 😉