-
Notifications
You must be signed in to change notification settings - Fork 684
[5.x]: Switching Link Field type duplicates tooltips under Advanced #18666
Copy link
Copy link
Closed
Labels
Description
What happened?
Description
Switching type in a link field causes multiple tooltips to appear
Steps to reproduce
- Add a link field with advanced options (e.g.
URL Suffix) - Switch the type from
EntrytoURL - Click
inext toURL Suffix - See two
hud info-hudinstances in the DOM
Or even more:
- Add a link field with advanced options (e.g.
URL Suffix) - Switch the type from
EntrytoURLback and forth multiple times - Click
inext toURL Suffix - See many
hud info-hudinstances in the DOM - See an increasingly darker drop shadow around the info tooltip
Expected behavior
No extra tooltips
Actual behavior
Duplicate tooltips were added.
These were also confusing and harder to get rid of.
It took me a while to figure out that dismissing the tooltip wasn't broken, but instead multiple were added.
Craft CMS version
5.9
PHP version
8.4
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
Reactions are currently unavailable