45 Commits

Author SHA1 Message Date
Arnold Daniels
59af819e4f Merge branch 'master' into dropdown_menu_item_click_causes_page_going_below_the_offcanvas_menu 2018-06-13 02:17:35 +06:00
Arnold Daniels
b9e2c03fc0 Merge pull request #580 from jasny/Two_menu_not_works
Handle case when there are 2 menus on the page (fixes #526)
2018-06-13 02:15:46 +06:00
Sergey Boltonosov
cce8a6d3a1 Fix bug caused by menu clone (fixes #484) 2018-06-10 16:36:54 +04:00
Sergey Boltonosov
96439c033a Handle case when there are 2 menus on the page (fixes #526) 2018-06-09 19:23:13 +04:00
Sergey Boltonosov
4633a6188e Allow options on canvas element 2018-06-08 22:45:42 +04:00
Arnold Daniels
ace5226662 Merge pull request #561 from Minstel/500-Offcanvas_menu_bug_on_screen_width_about_300px
500 offcanvas menu bug on screen width about 300px
2018-04-28 13:30:30 +02:00
minstel
50e0bb26b8 Use vertical scroll instead of horizontal for 299-300px window width (fixes #500) 2017-07-22 22:15:52 +07:00
minstel
315bb40a00 Fix for offcanvas reveal menu for IE9 (fixes #289) 2017-07-22 15:58:14 +07:00
Nicolas Frandeboeuf
cad9c2be5a Update offcanvas.js 2017-07-22 00:35:44 +07:00
Arnold Daniels
a00bd86456 Merge pull request #521 from poratuk/offcanvas-iPhone-scroll-fix
data-disable-scrolling="true" not working on iPhone
2017-03-07 14:50:28 +01:00
Andrew Cherytsya
90ea51f3af Fix #362: getCanvasElements loop got many time 2017-03-02 11:51:58 +02:00
Andrew Cherytsya
4879b5465a Fixed iPhone scrolling on disableScrolling: true 2017-02-28 15:58:32 +02:00
minstel
76b91df9a4 Fix for setting menu width. Use bootstrap 3.3.7 (fixes #278) 2017-02-25 00:49:44 +07:00
Arnold Daniels
4b7285346a Update offcanvas.js
Fixup
2017-01-27 15:13:18 +01:00
Arnold Daniels
06251c5733 Merge branch 'master' into patch-1 2017-01-26 17:42:07 +01:00
Arnold Daniels
0013f7af79 Merge pull request #508 from Minstel/399-Off_canvas_hide_and_hidden_are_not_triggered_on_resize_(recalc)
Trigger hide events on recalc (fixes #399)
2017-01-20 03:23:58 +01:00
Arnold Daniels
60cc232172 Merge pull request #505 from Minstel/458-disable_background_elements_when_offcanvas_is_activated
Can use offcanvas backdrop (fixes #458)
2017-01-20 03:22:50 +01:00
Arnold Daniels
dc06e4e935 Merge pull request #502 from Minstel/462-Offcanvas_closing_when_interacting_with_dropdown
Fix offcanvas close issue (fixes #462)
2017-01-20 03:20:33 +01:00
Arnold Daniels
6d42b2ae68 Merge pull request #501 from Minstel/443-How_to_close_the_left_hand_nav_for_really_small_screens
Menu width should always be smaller then screen width (fixes #443)
2017-01-20 03:20:09 +01:00
minstel
16a8d70a67 Trigger hide events on recalc (fixes #399) 2017-01-19 14:27:49 +07:00
minstel
5f27188f69 Can use offcanvas backdrop (fixes #458) 2017-01-18 12:01:45 +07:00
Nicolas Frandeboeuf
a4f103ddde Update offcanvas.js 2017-01-16 18:46:28 +01:00
Nicolas Frandeboeuf
f095e50394 Fix data-disablescrolling=false not working 2017-01-16 17:58:39 +01:00
minstel
04ab9af0fb Fix offcanvas close issue (fixes #462) 2017-01-14 00:04:32 +07:00
minstel
a1c4a672dd Menu width should always be smaller then screen width (fixes #443) 2017-01-13 13:37:22 +07:00
minstel
ddece62a51 Do not create non-needed menu clones (fixes #451) 2017-01-12 01:36:03 +07:00
fstiehle
27aa305f1f Performance Improvement var $this = $(this);
A minor thing: avoid creating a new jQuery object every time. Performance Improvement?
2016-03-22 12:43:08 +01:00
Arnold Daniels
033297bfa7 Revert "fix csp warning about unsafe-inline style-src" 2016-01-07 19:40:27 -04:00
Mike Zielonka
62e0c86998 fixes issues #309
Full credit to @Akkuzin for the fix.
2016-01-03 19:53:17 -04:00
Shiny
cdf7fd972f Support iOS device
1. iOS device does not fire click event if A without href.
2. iOS device does not fire click event if Element cursor is not
pointer.
2016-01-03 19:53:17 -04:00
pbatey
0c4702571d fix csp warning about unsafe-inline style-src
Showing and hiding an off-canvas menu with content-security-policy enabled (via ember-cli) results in the following~

    [Report Only] Refused to apply inline style because it violates the following Content Security Policy directive~

Changing the way that OffCanvas.hide() restors the style addresses this warning. e.g., `$(this).attr('style', ...)`~

For more information about content-security-policy, see http://content-security-policy.com/.
2016-01-03 19:53:17 -04:00
Ivan Povalyukhin
e07a929749 [whitespace gardening] - rm trailing whitespaces 2016-01-03 19:53:16 -04:00
Samuel Georges
58565ab2b1 Allow touching in the offcanvas area 2016-01-03 19:53:16 -04:00
Alex Vasilenko
31641ef078 hide menu on backdrop click 2016-01-03 19:53:16 -04:00
Alex Vasilenko
f74de5c7ff prevent scrolling on mobiles
modal backdrop option for offcanvas
2016-01-03 19:53:16 -04:00
Arnold Daniels
b89e662302 Always add padding to the right for body offcanvas.disableScrolling 2016-01-03 19:53:16 -04:00
Arnold Daniels
9700e42f67 Fixed customizer. Fixes #233
Bump version to 3.1.3
2016-01-03 19:53:15 -04:00
Arnold Daniels
8ff8a6bbbb Handle undefined body style in OffCanvas.disableScrolling(). Fixes #214 2016-01-03 19:53:15 -04:00
Arnold Daniels
5e62112251 Replace grunt-sed with grunt-text-replace
Set version to 3.1.2
2016-01-03 19:53:15 -04:00
Arnold Daniels
a7cbe01c50 Offcanvas option disablescrolling (lowercase) as alias of disableScrolling (camel cased). Fixes #219 2016-01-03 19:53:15 -04:00
Arnold Daniels
e0dd9615a8 Reset element style in offcanvas.recalc(). Fixes #201 2016-01-03 19:53:15 -04:00
Arnold Daniels
54b2bedc71 Fixed offcanvas position (only left was working). Fixes #195
Fixed calculating the position when 'auto' is used.
Off canvas navbar is positioned to the right by default and can be placed left with `.navmenu-fixed-left`.
Added link to off canvas navbar example in other offcanvas examples
2016-01-03 19:53:14 -04:00
Arnold Daniels
8586cec904 Make disable scrolling optional for offcanvas. Fixes #193 2016-01-03 19:53:14 -04:00
Arnold Daniels
6849bc40f3 Fixed offcanvas error because state is used as function. Fixes #192 2016-01-03 19:53:14 -04:00
Arnold Daniels
4ceef3e52b Orphan branch starting v3.1
Before this version jasny/bootstrap was a fork of twbs/bootstrap
2016-01-03 19:29:36 -04:00