From cb0c1a0ef77e6b902858d0138716f0c41e908d2c Mon Sep 17 00:00:00 2001 From: Jordan Green Date: Thu, 25 Oct 2018 17:16:22 +0100 Subject: [PATCH] Don't release stickyness if window width is equal to minWidth --- src/sticky-sidebar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sticky-sidebar.js b/src/sticky-sidebar.js index 842f878..9b44b45 100644 --- a/src/sticky-sidebar.js +++ b/src/sticky-sidebar.js @@ -500,7 +500,7 @@ const StickySidebar = (() => { */ _widthBreakpoint(){ - if( window.innerWidth <= this.options.minWidth ){ + if( window.innerWidth < this.options.minWidth ){ this._breakpoint = true; this.affixedType = 'STATIC';