elementor / elementor/elementor
SVG Widget shrinks when assigning Popup → Open Popup
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
### Description
When using the new SVG Widget, assigning Link → Popup → Open Popup causes the SVG to immediately shrink inside the Elementor editor.
The SVG displays correctly before the popup action is assigned.
The issue appears to be specific to the SVG Widget.
Troubleshooting performed:
- Changed CSS Print Method to Internal Embedding
- Regenerated CSS files (Clear Files & Data)
- Cleared all caches
- Disabled all plugins except Elementor and Elementor Pro
The issue still persists.
A Button widget connected to the same popup works correctly.
### Steps to reproduce
1. Create or edit a page, header, or template.
2. Add an SVG Widget.
3. Upload a custom SVG.
4. Set Link → Popup → Open Popup.
5. Select an existing popup.
6. Observe that the SVG immediately becomes significantly smaller inside the editor.
### Expected behavior
The SVG should maintain its original size after assigning a Popup → Open Popup action.
### Elementor System Info
```txt
== Server Environment ==
Operating System: Linux
Software: nginx/1.31.3
MySQL version: (Google) v8.0.45
PHP Version: 8.3.31
PHP Memory Limit: 1024M
PHP Max Input Vars: 10000
PHP Max Post Size: 256M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 7.0.3
Site URL: https://eptanisia.gr
Home URL: https://eptanisia.gr
WP Multisite: No
Max Upload Size: 256 MB
Memory limit: 1024M
Max Memory limit: 1024M
Permalink Structure: /%postname%/
Language: en_US
Timezone: Europe/Athens
Admin Email: mvythoulka@gmail.com
Debug Mode: Inactive
== Theme ==
Name: Hello Elementor
Version: 3.4.9
Author: Elementor Team
Child Theme: No
== User ==
Role: administrator
WP Profile lang: en-US
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
== Active Plugins ==
Elementor
Version: 4.2.2
Author: Elementor.com
Elementor Pro
Version: 4.2.1
Author: Elementor.com
== Elements Usage ==
footer : 1
container : 9
social-icons : 1
text-editor : 9
header : 5
container : 6
e-svg : 4
popup : 1
container : 7
e-svg : 1
icon : 1
nav-menu : 1
social-icons : 1
wp-page : 2
button : 4
container : 18
divider : 1
form : 1
heading : 12
image : 3
== Settings ==
cpt_support: post, page
allow_tracking: yes
unfiltered_files_upload: 1
font_display: swap
== Features ==
Custom Fonts: 0
Custom Icons: 0
== Integrations ==
== Elementor Experiments ==
Inline Font Icons: Active by default
Additional Custom Breakpoints: Active by default
Container: Active by default
Optimized Markup: Active by default
Panel Promotions: Active by default
Default to New Theme Builder: Active by default
Header & Footer: Active by default
Elementor MCP WP Abilities API: Inactive by default
Pro Free Trial Popup: Active by default
Nested Elements: Active by default
Pages Panel: Active
Atomic Widgets: Active by default
V4 Indications Popover: Inactive by default
Enforce atomic widgets capabilities: Active by default
Editor MCP for atomic widgets: Active by default
Backward compatibility migrations: Active by default
Global Classes: Active by default
Enforce global classes capabilities: Active by default
Variables: Active by default
Variables Manager: Active by default
Editor v4 (Opt In Page): Active by default
Editor V4: Active by default
Components: Active by default
Interactions: Active by default
Widget Creation: Active by default
Generate website markdown: Inactive by default
Dynamic Assets Management: Inactive by default
Import/Export Customization: Active by default
Site Builder: Inactive by default
Elementor Editor Events: Active
Improved Page Actions Layout: Active
Atomic Form: Active by default
Loop: Active by default
Menu: Active by default
Size Variables: Active by default
Pro Interactions: Active by default
In-Editor Feedback: Inactive by default
== Log ==
JS: showing 9 of 9JS: 2026-07-18 08:33:06 [error X 6][https://orzwztrq.elementor.cloud/wp-content/plugins/elementor/assets/js/editor.min.js?ver=4.1.5:2:928094] Element type already registered
JS: 2026-07-18 11:35:35 [error X 14][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/editor.min.js?ver=4.1.5:2:248754] this.ui.input.val is not a function
JS: 2026-07-18 16:23:25 [error X 61][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/editor.min.js?ver=4.1.5:2:982924] Failed to execute 'querySelector' on 'Document': '#' is not a valid selector.
JS: 2026-07-23 08:26:13 [error X 12][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/editor.min.js?ver=4.2.0:2:1022871] Cannot read properties of undefined (reading 'localized')
JS: 2026-07-24 19:32:58 [error X 1][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/packages/editor-documents/editor-documents.min.js?ver=4.2.0:1:3810] Cannot read properties of null (reading 'config')
JS: 2026-07-24 19:38:49 [error X 1][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/editor.min.js?ver=4.2.0:2:1022368] Cannot read properties of undefined (reading 'toLowerCase')
JS: 2026-07-24 20:42:50 [error X 4][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/admin.min.js?ver=4.2.0:2:42363] r.startsWith is not a function
JS: 2026-07-26 20:15:20 [error X 1][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/editor.min.js?ver=4.2.0:2:1242792] Cannot read properties of null (reading 'id')
JS: 2026-08-11 12:27:49 [error X 4][https://eptanisia.gr/wp-content/plugins/elementor/assets/js/import-export-customization-admin.min.js?ver=4.2.2:2:36019] elementorAdmin is not defined
PHP: showing 2 of 2PHP: 2026-07-19 15:05:23 [warning X 3][/mnt/shared-stack/plugins/elementor/4.1.5/modules/history/revisions-manager.php::363] Undefined array key "editor_post_id" [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2026-07-24 22:37:54 [warning X 16][/mnt/shared-stack/plugins/elementor/4.2.0/includes/managers/image.php::113] Trying to access array offset on false [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
Log: showing 20 of 262026-07-22 01:31:48 [info] elementor-pro::elementor_pro_updater Started
2026-07-22 01:31:48 [info] Elementor Pro/Upgrades - _on_each_version Start
2026-07-22 01:31:48 [info] Elementor Pro/Upgrades - _on_each_version Finished
2026-07-22 01:31:48 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '4.1.3',
'to' => '4.2.0',
)]
2026-07-28 20:43:19 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '4.2.0',
'to' => '4.2.1',
)]
2026-07-28 21:43:13 [info] elementor-pro::elementor_pro_updater Started
2026-07-28 21:43:13 [info] Elementor Pro/Upgrades - _on_each_version Start
2026-07-28 21:43:13 [info] Elementor Pro/Upgrades - _on_each_version Finished
2026-07-28 21:43:13 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '4.2.0',
'to' => '4.2.1',
)]
2026-07-28 23:43:19 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '4.2.0',
'to' => '4.2.1',
)]
2026-07-29 00:43:14 [info] elementor::elementor_updater Started
2026-07-29 00:43:14 [info] Elementor/Upgrades - _on_each_version Start
2026-07-29 00:43:15 [info] Elementor/Upgrades - _on_each_version Finished
2026-07-29 00:43:15 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '4.2.0',
'to' => '4.2.1',
)]
2026-08-07 02:06:38 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '4.2.1',
'to' => '4.2.2',
)]
2026-08-11 15:10:56 [info] elementor::elementor_updater Started
2026-08-11 15:10:56 [info] Elementor/Upgrades - _on_each_version Start
2026-08-11 15:10:56 [info] Elementor/Upgrades - _on_each_version Finished
2026-08-11 15:10:56 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '4.2.1',
'to' => '4.2.2',
)]
2026-08-11 15:10:57 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '4.2.1',
'to' => '4.2.2',
)]
== Elementor - Compatibility Tag ==
Elementor Pro: Compatible
== Elementor Pro - Compatibility Tag ==
```
### Agreement
- [x] I confirm I have read and followed all the guidelines and instructions outlined in the Elementor Bug Report form.
- [x] I agree that my issue may be closed without further action if it doesn't meet all the requirements outlined in the Elementor Bug Report form.
Contributor guide
Research direction
Reproduce the issue in the Elementor editor with an SVG Widget and the Link → Popup → Open Popup action, then inspect the reported editor.min.js errors and the SVG’s size before and after assigning the popup. Done means the SVG keeps its original size in the editor while the popup action remains configured.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100