Skip to content

Increase compatibility with older browsers

Alex Gleason requested to merge polyfills into develop

Summary

Improving browser compatibility is a good thing, as it makes Soapbox more accessible to users of older devices. I think it's good to support legacy browsers, especially older versions of iOS which a lot of users on Truth Social and Spinster have reported don't work.

The new browserlists cover back to iOS 12. Additionally, some polyfills removed in !2140 (merged) were added back in.

The increase in bundle size is about 60KB when gzipped.

Fixes for iOS 12:

  • Site no longer crashes on the homepage, nor when the composer loads
  • Media modal displays correctly

I updated core-js, and switched out calls to fetch() with axios.

Next we will display a banner for devices that are outdated and/or unsupported.

Merge request reports

Loading