Loading the polyfill intersection observer does not check the right key

Created on 2 July 2024, 7 months ago
Updated 26 July 2024, 7 months ago

Problem/Motivation

The intersection observer polyfill should only be loaded if lazy loading is checked. However, the settings are not correctly read when deciding to embed the library, causing it to be embedded when it should not be.

Steps to reproduce

Enable a google map display in a field formatter. Save the settings with lazy loading enabled. Turn off the lazy loading. Visit the page. The polyfill is still included.

Proposed resolution

The right nested key set by the settings form should be read.

Remaining tasks

Applying the change to a release.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany yareckon

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024