Cookies 2.x + Drupal 11 + leaflet module : Uncaught TypeError: L.DomUtil is undefined

Created on 26 June 2025, 8 days ago

When using Cookies 2 + Drupal 11 + the leaflet 10.3.3, there is an error "L.DomUtil is undefined". The views leafet block does not load.

When I disable the cookies module, everything works.

I have not been able to find why this is happening. I have tried to disable both the local and CND cookiejsr libraries and that fixes the issue too.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France yonailo Paris

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

Comments & Activities

Production build 0.71.5 2024