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
32a29eb363
Updated dev dependencies
2015-05-03 14:04:46 -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
efe7ac5974
Recompiled JS
2015-05-01 14:18:55 -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
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
Djamil Legato
2f6cb1de46
Yikes, ugly typo
2015-04-16 22:10:00 -07:00
Djamil Legato
0077a83169
Auto adjust heights in slideouts
2015-04-16 21:48:59 -07:00
Djamil Legato
d61b48fb84
Ensuring to close all sub levels when closing a parent
2015-04-16 19:36:09 -07:00
Djamil Legato
de203472ba
Added mutators to hide any offcanvas toggle when not needed
2015-04-16 18:29:04 -07:00
Djamil Legato
3335e2af41
Allowing clicking through sublevels if it's not the main navigation (ie, offcanvas)
2015-04-16 16:54:19 -07:00
Djamil Legato
cdb08fe059
Leftover console.log
2015-04-16 16:06:22 -07:00
Djamil Legato
4607053e68
Fullwidth menu slideouts
2015-04-16 15:27:14 -07:00
Djamil Legato
50afd6a8e0
Only trigger mouse events if the menu allows it
2015-04-15 18:14:02 -07:00
Djamil Legato
15c1020b85
Implemented matchMedia to move the menu to and from the offcanvas based on the Large Mobile breakpoint
2015-04-15 17:26:35 -07:00
Djamil Legato
7ae0eda6a4
Stopping propagation of the event if it's a parent separator
2015-04-15 15:47:02 -07:00
Djamil Legato
d9d70f575f
Using top fix for dropdowns only if device doesn't have touch events
2015-04-15 15:43:30 -07:00
Djamil Legato
b9fcd29e0b
Implemented touch actions for opening / closing dropdowns. Compatibility with touch screen devices with mouse support
2015-04-15 15:25:33 -07:00
Djamil Legato
a290704db6
Adding g-menu-hastouch to menu containers when touch device is detected
2015-04-15 14:07:13 -07:00
Djamil Legato
2d0d20ca40
Inizial JS implementation for the new revamped menu ( #58 )
2015-04-15 13:32:23 -07:00
Djamil Legato
ae70da864f
Oops, didn't mean to remove the touch events check for delegation
2015-04-13 13:36:06 -07:00
Djamil Legato
30bf31d7cd
1. Tolerance of offcanvas is now a customizable callback and set to half the size of the offcanvas by default. 2. Fixed different issues to handle both left / right sides.
2015-04-13 13:33:27 -07:00
Djamil Legato
30b15d5c1b
Coordinating overlay opacity while swiping. Code optimizations
2015-04-12 20:04:32 -07:00
Djamil Legato
5edddd83fc
Fixed swipe when offcanvas is placed on the right handside
2015-04-12 18:39:02 -07:00
Djamil Legato
f6cd67512e
Disabled fullPaths from gulpfiles. Apparently watchify doesnt need it anymore
2015-04-11 23:26:56 -07:00
Djamil Legato
f06c4e0776
Optimizations and Touch support
2015-04-10 23:27:23 -07:00
Djamil Legato
2721cda04e
Initial offcanvas js logic.
2015-04-10 21:46:03 -07:00
Djamil Legato
1b51efc4a8
Recompiled assets
2015-04-10 12:10:02 -07:00
Djamil Legato
1143988f8a
Temporary solution for developing frontend menu.
2015-04-09 14:13:35 -07:00
Djamil Legato
51483af93a
Initial revamp of Menu system. Added a DetectMouse method that will be used later on for properly toggle mouseover events/ touch events
2015-04-01 11:11:32 -07:00
Djamil Legato
ef3583c859
#30 , menu could potentially show empty in mobile view
2015-03-31 14:41:34 -07:00
Djamil Legato
1fcbe851e4
Uncompressed frontend js causing issues on iphone [GANTRYFIVE-143]
2015-03-24 23:41:28 +01:00
Matias Griese
d3a3fdae2f
Theme restructuring: Move common platform files into their proper location
2015-03-23 15:59:33 +02:00