Theme 1.20 Patches

We’ve released two patches for theme 1.20. We recommend upgrading to the latest theme version if you are using the new full-page-map template. See below for upgrade implications.

Patches

1.20.1

  • Fix a layout bug with custom headers and footers on mobile list view on the vertical-full-page-map template (#729)
  • Fix styling of NLP filters when no collapsible-filters are present (#728)
  • Fix RTF styling that was not being applied to the new elements (#730)
  • Remove an extraneous comma from the vertical-full-page-map template config (#725)

1.20.2

  • Addressed a race condition that was negatively impacting the new full-page-map template (#739)
  • Fixed compatibility issues on IE11 for the new full-page-map template (#742)

Upgrade Implications

If you previously forked a location card and are using it with this template, you should either refork a fresh card after upgrading, or manually adjust your card’s component.js. In the onMount() call near line 8, update the second line of the function as follows:

Before:

  onMount() {
    const onVerticalFullPageMap = !!document.querySelector('.js-answersVerticalFullPageMap');
    onVerticalFullPageMap && new VerticalFullPageMap.CardListenerAssigner({card: this}).addListenersToCard();
    super.onMount();
  }

After:

  onMount() {
    const onVerticalFullPageMap = !!document.querySelector('.js-answersVerticalFullPageMap');
    onVerticalFullPageMap && registerVerticalFullPageMapCardListeners(this);
    super.onMount();
  }