File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ <a name =" 0.6.1 " ></a >
2
+ # [ 0.6.1] ( (https://github.com/swiety85/angular2gridster/compare/0.6.0...0.6.1) ) (2017-07-10)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * ** config:** fix default gridster options
8
+ * ** responsiveness:** fix responsive behaviour on iPhones and iPads
9
+
10
+
11
+
1
12
<a name =" 0.6.0 " ></a >
2
13
# [ 0.6.0] ( (https://github.com/swiety85/angular2gridster/compare/0.5.3...0.6.0) ) (2017-07-06)
3
14
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ export class GridsterOptions {
40
40
this . responsiveOptions = this . extendResponsiveOptions ( config . responsiveOptions || [ ] ) ;
41
41
42
42
this . change = Observable . merge (
43
- Observable . of ( this . getOptionsByWidth ( window . outerWidth ) ) ,
43
+ Observable . of ( this . getOptionsByWidth ( document . documentElement . clientWidth ) ) ,
44
44
Observable . fromEvent ( window , 'resize' )
45
45
. debounceTime ( config . responsiveDebounce || 0 )
46
- . map ( ( event : Event ) => this . getOptionsByWidth ( window . outerWidth ) )
46
+ . map ( ( event : Event ) => this . getOptionsByWidth ( document . documentElement . clientWidth ) )
47
47
)
48
48
. distinctUntilChanged ( null , ( options : any ) => options . minWidth ) ;
49
49
}
You can’t perform that action at this time.
0 commit comments