Add Array.includes polyfill to support IE11 and Opera Mini

Created on 27 September 2021, almost 3 years ago
Updated 10 September 2023, 12 months ago

Problem/Motivation

A polyfill for Array.includes() is needed for Internet Explorer 11 and Opera Mini.

This is one of the three polyfills from πŸ“Œ Provide a new library to replace jQuery UI autocomplete Needs work and we are now addressing each in their own issue.

Note: While it is currently a nice-to-have, it will be necessary for the new Autocomplete issue πŸ“Œ Provide a new library to replace jQuery UI autocomplete Needs work to land as it includes a library that uses a non-polyfilled Array.includes. It's also a nice way to phase out the indexOf hack, which won't be necessary in Drupal 10 since IE11 won't be supported.

πŸ“Œ Task
Status

Fixed

Version

9.4

Component
JavascriptΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ΊπŸ‡ΈUnited States hooroomoo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024