Changeset 3443228
- Timestamp:
- 01/20/2026 12:20:53 PM (2 months ago)
- Location:
- tryloom
- Files:
-
- 38 added
- 5 edited
-
tags/1.2.3 (added)
-
tags/1.2.3/LICENSE (added)
-
tags/1.2.3/assets (added)
-
tags/1.2.3/assets/css (added)
-
tags/1.2.3/assets/css/admin.css (added)
-
tags/1.2.3/assets/css/font-awesome.min.css (added)
-
tags/1.2.3/assets/css/frontend.css (added)
-
tags/1.2.3/assets/img (added)
-
tags/1.2.3/assets/img/tryloom_upload_placeholder.png (added)
-
tags/1.2.3/assets/js (added)
-
tags/1.2.3/assets/js/admin.js (added)
-
tags/1.2.3/assets/js/frontend.js (added)
-
tags/1.2.3/assets/lib (added)
-
tags/1.2.3/assets/lib/font-awesome (added)
-
tags/1.2.3/assets/lib/font-awesome/css (added)
-
tags/1.2.3/assets/lib/font-awesome/css/all.min.css (added)
-
tags/1.2.3/assets/lib/font-awesome/webfonts (added)
-
tags/1.2.3/assets/lib/font-awesome/webfonts/fa-solid-900.ttf (added)
-
tags/1.2.3/assets/lib/font-awesome/webfonts/fa-solid-900.woff2 (added)
-
tags/1.2.3/assets/webfonts (added)
-
tags/1.2.3/assets/webfonts/fa-solid-900.ttf (added)
-
tags/1.2.3/assets/webfonts/fa-solid-900.woff2 (added)
-
tags/1.2.3/includes (added)
-
tags/1.2.3/includes/admin (added)
-
tags/1.2.3/includes/admin/class-tryloom-admin.php (added)
-
tags/1.2.3/includes/admin/icon.png (added)
-
tags/1.2.3/includes/api (added)
-
tags/1.2.3/includes/api/class-tryloom-api.php (added)
-
tags/1.2.3/includes/frontend (added)
-
tags/1.2.3/includes/frontend/class-tryloom-frontend.php (added)
-
tags/1.2.3/languages (added)
-
tags/1.2.3/languages/tryloom.pot (added)
-
tags/1.2.3/readme.txt (added)
-
tags/1.2.3/templates (added)
-
tags/1.2.3/templates/account-try-on.php (added)
-
tags/1.2.3/templates/try-on-popup.php (added)
-
tags/1.2.3/tryloom.php (added)
-
tags/1.2.3/uninstall.php (added)
-
trunk/assets/css/frontend.css (modified) (2 diffs)
-
trunk/assets/js/frontend.js (modified) (6 diffs)
-
trunk/includes/api/class-tryloom-api.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/tryloom.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tryloom/trunk/assets/css/frontend.css
r3425550 r3443228 4 4 * @package WooCommerce_Try_On 5 5 */ 6 7 /** 8 * Scroll Lock Class 9 * Used to prevent body scrolling when popup/lightbox is open. 10 * Uses a class instead of inline styles to avoid conflicts with theme scripts. 11 */ 12 body.tryloom-scroll-lock { 13 overflow: hidden !important; 14 position: fixed; 15 width: 100%; 16 height: 100%; 17 } 6 18 7 19 :root { … … 259 271 260 272 .tryloom-popup-close:hover { 261 transform: rotate(90deg) scale(1 .2);273 transform: rotate(90deg) scale(1); 262 274 color: var(--tryloom-close-hover); 275 background: transparent 263 276 } 264 277 -
tryloom/trunk/assets/js/frontend.js
r3425550 r3443228 704 704 $('.tryloom-lightbox-content img').attr('src', imgSrc); 705 705 $('.tryloom-lightbox').addClass('open'); 706 $('body'). css('overflow', 'hidden'); // Prevent scrolling706 $('body').addClass('tryloom-scroll-lock'); // Prevent scrolling 707 707 } 708 708 }); … … 718 718 $('.tryloom-lightbox-content img').attr('src', imgSrc); 719 719 $('.tryloom-lightbox').addClass('open'); 720 $('body'). css('overflow', 'hidden');720 $('body').addClass('tryloom-scroll-lock'); 721 721 } 722 722 }); … … 726 726 if (e.target === this) { 727 727 $('.tryloom-lightbox').removeClass('open'); 728 $('body'). css('overflow', 'auto'); // Re-enable scrolling728 $('body').removeClass('tryloom-scroll-lock'); // Re-enable scrolling 729 729 } 730 730 }); … … 734 734 if (e.keyCode === 27) { // Escape key 735 735 $('.tryloom-lightbox').removeClass('open'); 736 $('body'). css('overflow', 'auto'); // Re-enable scrolling736 $('body').removeClass('tryloom-scroll-lock'); // Re-enable scrolling 737 737 } 738 738 }); … … 746 746 openPopup: function (productId) { 747 747 // Disable page scrolling 748 $('body'). css('overflow', 'hidden');748 $('body').addClass('tryloom-scroll-lock'); 749 749 750 750 // Get the popup element … … 841 841 842 842 // Re-enable page scrolling 843 $('body'). css('overflow', 'auto');843 $('body').removeClass('tryloom-scroll-lock'); 844 844 }, 845 845 -
tryloom/trunk/includes/api/class-tryloom-api.php
r3442039 r3443228 269 269 'product_image' => $product_image_base64, 270 270 'store_domain' => wp_parse_url(site_url(), PHP_URL_HOST), 271 'plugin_version' => defined('TRYLOOM_VERSION') ? TRYLOOM_VERSION : '1.2. 2',271 'plugin_version' => defined('TRYLOOM_VERSION') ? TRYLOOM_VERSION : '1.2.3', 272 272 'method' => $try_on_method, 273 273 'instance_id' => $this->get_instance_id(), -
tryloom/trunk/readme.txt
r3442064 r3443228 118 118 == Changelog == 119 119 120 = 1.2.3 = 121 * Fix: Resolved a critical "Scroll Lock" conflict that caused the page interface to freeze on certain themes (e.g., Minimog) when interacting with Cart or Search drawers. 122 * Update: Replaced aggressive inline-style scroll locking with a passive "Class-Based" system (tryloom-scroll-lock) to prevent interference with theme navigation. 123 * Fix: Corrected a Z-Index layering issue where the plugin container could block clicks on underlying buttons even when closed. 124 * Improvement: Added a "Safety Net" script to force-release any scroll locks immediately upon page load. 125 * Improvement: Optimized CSS pointer-events to ensure the plugin is completely "transparent" to mouse clicks when not in use. 126 120 127 = 1.2.2 = 121 128 * Fix: Optimized asset loading logic to prevent script execution on non-product pages. … … 177 184 == Upgrade Notice == 178 185 179 = 1.2.2 = Maintenance Update: Fixes a theme compatibility conflict involving navigation menus and optimizes site-wide performance by strictly isolating plugin assets to WooCommerce pages. Highly recommended for users of Minimog and other Elementor-based themes. 186 = 1.2.3 = 187 Critical Update: Fixes a major conflict where the website scroll or buttons (Cart/Search) could freeze on Product Pages. Recommended for all users immediately. 188 189 = 1.2.2 = 190 Maintenance Update: Fixes a theme compatibility conflict involving navigation menus and optimizes site-wide performance by strictly isolating plugin assets to WooCommerce pages. Highly recommended for users of Minimog and other Elementor-based themes. 180 191 181 192 = 1.2.1 = -
tryloom/trunk/tryloom.php
r3442039 r3443228 4 4 * Plugin URI: https://gettryloom.com/ 5 5 * Description: TryLoom lets customers virtually try on clothing, shoes, hats, and eyewear in WooCommerce. 6 * Version: 1.2. 27 * Stable tag: 1.2. 26 * Version: 1.2.3 7 * Stable tag: 1.2.3 8 8 * Author: ToolTeek 9 9 * Author URI: https://toolteek.com/ … … 26 26 27 27 // Define plugin constants. 28 define('TRYLOOM_VERSION', '1.2. 2');28 define('TRYLOOM_VERSION', '1.2.3'); 29 29 define('TRYLOOM_PLUGIN_DIR', plugin_dir_path(__FILE__)); 30 30 define('TRYLOOM_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.