Karol Orzeł
37ab661ff7
Mobile Menu fix #3198
2023-11-21 18:32:36 +01:00
Karol Orzeł
7519e3d87a
DOMSubtreeModified deprecation fix
2023-09-29 17:58:04 +02:00
Djamil Legato
db91dea362
Fixed issue when editing on frontend and loading media picker ( fixes #2102 )
2017-09-19 16:48:54 -07:00
Djamil Legato
5855de150e
Menu: Fixed issue with touch devices where ending the scroll gesture on the offcanvas menu would trigger the expansion of a parent menu item ( fixes #1620 )
2017-06-29 11:36:10 -07:00
Djamil Legato
e0661cb7b6
Accessibility: Menu / Offcanvas: Offcanvas and hamburger toggle menu are now ARIA compatible ( fixes #1891 )
2017-06-27 18:07:07 -07:00
Djamil Legato
186c0fe8df
Menu / Offcanvas: Fixed issue preventing the offcanvas toggle to show when Menu set with only icons ( fixes #1939 )
2017-06-27 17:43:53 -07:00
Djamil Legato
b4222951a9
Menu: Fixed frontend menu 'Extended' option, resetting heights of wrapping containers not necessarily related to the menu itself ( fixes #2025 )
2017-06-27 17:08:27 -07:00
Djamil Legato
8ec9dc61b5
Fixed extended menu items starting from 3rd level and below not expanding vertically as expected ( fixes #1778 )
2017-01-24 17:12:41 -08:00
Djamil Legato
8a3572ddef
Fixed issue with Offcanvas that on Touch devices would cause the Offcanvas to close while touch-scrolling ( fixes #1447 )
2016-07-15 16:15:05 -07:00
Djamil Legato
da41d0b63c
Do not close offcanvas when clicking a menu parent. Use touchend when touch events available. ( fixes #1411 )
2016-07-07 06:19:54 -07:00
Djamil Legato
0239a96b61
Fixed issue with anchors and Offcanvas not resetting the overlay in IE and Firefox ( fixes #1399 )
2016-07-06 20:24:17 -07:00
Djamil Legato
83585d0538
Fixed potential JavaScript error on frontend when the Menu particle was disabled
2016-06-01 18:30:37 -07:00
Djamil Legato
aeec19f349
Fixed backward compatibility for custom menus where the hovering wouldn't be the default behavior ( fixes #1293 )
2016-05-19 10:53:53 -07:00
Djamil Legato
db714c3379
Menu Particle: Added new option Expand on Hover to allow / disallow menu items to expand on mouseover or limit them to click / touch only ( fixes #1256 )
2016-05-06 12:26:36 -07:00
Djamil Legato
615b029ba1
Exposed JS G5.$ and G5.ready globals on frontend (ref, #1256 )
2016-04-26 17:34:10 -07:00
Djamil Legato
20cb437503
Potential workaround for protocol mismatch error ( #1224 )
2016-04-13 22:44:30 -07:00
Djamil Legato
9d22a9af3d
Offcanvas now adds an option to switch between CSS3 and CSS2 animations, CSS3 being default and the most optimized and fast. An HTML class is also added as CSS hook
2015-11-12 17:38:15 -08:00
Djamil Legato
f6f0bf92a7
Fixed issue with multilevel dropdowns not closing properly in some scenarios ( fixes #863 )
2015-09-22 12:11:41 -07:00
Djamil Legato
2f72df192b
Fixed dropdowns not working when Offcanvas was off ( fixes #583 )
2015-07-16 12:28:01 -07:00
Djamil Legato
6919e723fa
Swipe gesture for Offcanvas is now optional and managebal from the Layout Manager ( fixes #559 )
2015-07-10 16:22:24 -07:00
Djamil Legato
b993c801a0
Fixed some cases where the height calculation of columns sublevels was wrong in offcanvas menu ( fixes #540 )
2015-07-08 10:29:26 -07:00
Djamil Legato
efa819c69f
ToTop: Implemented smoothscroll to top and fixed redirecting to different page ( fixes #500 )
2015-06-25 17:47:29 -07:00
Djamil Legato
165fd1f21b
Fixed menu issue when only 1 parent with no siblings present ( fixes #397 )
2015-06-01 12:34:21 -07:00
Djamil Legato
863f52de91
Added opening/closing classnames for offcanvas behavior ( #390 )
2015-05-29 17:44:14 -07:00
Djamil Legato
995609b156
Reworked offcanvas JS to use left/right instead of transforms
2015-05-28 16:43:24 -07:00
Kevin DuCommun
713923342a
Initial reimplementation of off canvas and page surround
2015-05-28 17:32:01 -05:00
Djamil Legato
65aa8a24ff
Collapse navigation when menu is moved in mobile container ( fixes #181 )
2015-05-20 09:52:44 -07:00
Djamil Legato
7628c3da02
JS errors when mobileContainer not present ( fixes #282 )
2015-05-17 23:07:56 -07:00
Djamil Legato
118febc55a
Restoring menu items custom width when they get moved back into desktop from offcanvas ( fixes #228 , fixes #223 )
2015-05-15 12:01:44 -07:00
Djamil Legato
51f860031b
Added Menu Particle option to target the desired menu to go in offcanvas ( fixes #220 )
2015-05-10 17:35:55 -07:00
Djamil Legato
8e1ecbc9c8
Fixed several IE issues
2015-05-07 12:36:12 -07:00
Djamil Legato
c33cb1f520
Remove extra padding / margin if the mobile container is empty ( fixes #190 )
2015-05-07 11:54:48 -07:00
Djamil Legato
481b1068a6
Do not export dollar on frontend
2015-05-02 08:51:26 -07:00
Djamil Legato
d9be78e982
Do not detach Mutation event if the mobileContainer doesn't exist, there might be other particles rendered ( fixes #172 )
2015-05-02 08:47:25 -07:00
Djamil Legato
d2f33e79e0
More menu fixes. Reset states when switching between offcanvas and desktop. Do not fixHeights in toplevel when in desktop mode and touch screen.
2015-04-22 15:51:45 -07:00
Djamil Legato
dc408a3d19
Added more checks to prevent JS from failing. Fixed potential issue with dropdowns layouts not being direct children of menu item
2015-04-22 15:18:24 -07:00
Djamil Legato
2c22bdbf4d
Fix heights of menu sublevels in offcanvas to ensure they parents don't bleed through and that the particles that follow don't get overlapped ( fixes #100 )
2015-04-21 16:29:50 -07:00
Djamil Legato
cb5a092469
Debouncing the toggles check to fix some odd behaviors in Firefox ( #100 )
2015-04-21 15:03:34 -07:00
Djamil Legato
c83f6b6a91
Tweaked swipe tolerance to take into account the Y axis while scrolling. This should make it harder to trigger the offcanvas open/close while scrolling and expects more of a horizontal swipe with little tolerance on the Y axis.
...
Tweaked swipe tolerance to take into account the Y axis. This should make the trigger smarter about understanding if the intention is to scroll or open the offcanvas. It expects more of an horizontal swipe with little tolerance on the Y axis , else it scrolls.
2015-04-19 19:09:10 -07:00
Djamil Legato
3e042de86d
Reduce tolerance for opening/closing offcanvas to 1/3 instead of 1/2
2015-04-19 16:26:57 -07:00
Djamil Legato
2e99628a2a
Fixed swipe issue while scrolling and triggering the offcanvas opening when not intended
2015-04-18 13:48:13 -07:00
Djamil Legato
5d7487081e
Do not try to animate all columns if it's desktop megamenu
2015-04-17 15:24:24 -07:00
Djamil Legato
66314f7c00
Do no try to fix heights on top levels in megamenu
2015-04-17 14:43:30 -07:00
Djamil Legato
1c424653ac
Only fix heights in desktop megamenu
2015-04-17 14:34:16 -07:00
Djamil Legato
7db3c27335
Fixed mobile menu navigation when there are multiple columns
2015-04-17 13:56:29 -07:00
Djamil Legato
2eb6f07d53
Changed matchMedia to compensate with unit tolerance so it doesn't clash with other breakpoints
2015-04-17 13:12:03 -07:00
Djamil Legato
dce8a27a41
Returning capture handler, useful for detaching events
2015-04-17 13:11:15 -07:00
Djamil Legato
fc132f1eef
1. Detaching all events, including swipe, when the offcanvas is not meant to be opened. 2. Ensuring to always attach the mutation events when detaching the rest. 3. Code reorganization and cleanup
2015-04-17 11:02:04 -07:00
Djamil Legato
f567f128d0
Optimization: detaching mutation event if the menu mobile is not detected in the page
2015-04-17 10:25:40 -07:00
Djamil Legato
8e1e1e5983
Implemented menu overlay for touch devices to close the entire menu. Cleanup
2015-04-16 23:29:46 -07:00