Clear icon button causes page jump and doesn't trigger JavaScript functionality

Created on 24 June 2025, about 1 month ago

Problem/Motivation

The "Clear icon" button in the iconify field widget has two issues:
1. Clicking the button causes the page to jump to the top
2. The clear functionality doesn't work - the JavaScript event listener is not properly attached
Working with Drupal 11.1.8

Steps to reproduce

1. Create a field using the Iconify Field widget
2. Select an icon using the "Pick an icon" button
3. Click the "Clear icon" button
4. Observe that the page jumps to the top and the icon is not cleared

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇧🇪Belgium britt.vanderlinden

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

Comments & Activities

Production build 0.71.5 2024