Drupal added the matchMedia asset library to core as a polyfill for browsers that did not support matchMedia and MediaQueryList to test media queries in JavaScript.

All of the browsers listed in Drupal's browser support policy support matchMedia so this asset library is deprecated in Drupal 8.8 and will be removed in Drupal 9.

This module provides a replacement asset library for sites that still need to support older browsers.

Supporting organizations: 

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Developer tools
  • chart icon55 sites report using this module
  • Created by zrpnr on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases