File tree 4 files changed +7
-2
lines changed
packages/terra-responsive-element
4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ Cerner Corporation
78
78
- Jeremy Fuksa [ @jeremyfuksa ]
79
79
- Dillon Lustick [ @celvro ]
80
80
- Ryan Rickard [ @RLRickard ]
81
+ - Akarsh Shetty [ @ShettyAkarsh ]
81
82
82
83
[ @ryanthemanuel ] : https://github.com/ryanthemanuel
83
84
[ @Matt-Butler ] : https://github.com/Matt-Butler
@@ -158,3 +159,4 @@ Cerner Corporation
158
159
[ @jeremyfuksa ] : https://github.com/jeremyfuksa
159
160
[ @celvro ] : https://github.com/celvro
160
161
[ @RLRickard ] : https://github.com/RLRickard
162
+ [ @ShettyAkarsh ] https://github.com/ShettyAkarsh
Original file line number Diff line number Diff line change 73
73
"enzyme-adapter-react-16" : " ^1.1.1" ,
74
74
"enzyme-to-json" : " ^3.2.2" ,
75
75
"eslint" : " ^5.0.0" ,
76
- "eslint-config-terra" : " ^2.0 .0" ,
76
+ "eslint-config-terra" : " ^2.2 .0" ,
77
77
"gh-pages" : " ^1.1.0" ,
78
78
"glob" : " ^7.1.1" ,
79
79
"identity-obj-proxy" : " ^3.0.0" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Changelog
4
4
Unreleased
5
5
----------
6
6
7
+ ### Fixed
8
+ * Repititive Resizing when scrollbars appear between two breakpoints
9
+
7
10
3.18.0 - (January 2, 2019)
8
11
------------------
9
12
### Changed
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class ResponsiveElement extends React.Component {
61
61
this . resizeObserver = new ResizeObserver ( ( entries ) => {
62
62
this . animationFrameID = window . requestAnimationFrame ( ( ) => {
63
63
this . animationFrameID = null ;
64
- this . handleResize ( entries [ 0 ] . contentRect . width ) ;
64
+ this . handleResize ( entries [ 0 ] . target . getBoundingClientRect ( ) . width ) ;
65
65
} ) ;
66
66
} ) ;
67
67
this . resizeObserver . observe ( this . container ) ;
You can’t perform that action at this time.
0 commit comments