FIX: Remove `attributes` observer, doesn't work in FF/Safari
This commit is contained in:
parent
97b608f090
commit
2546ca3c8e
|
@ -127,7 +127,7 @@ export default Ember.Component.extend({
|
||||||
_watchSizeChanges() {
|
_watchSizeChanges() {
|
||||||
if (mutationSupport) {
|
if (mutationSupport) {
|
||||||
this._observer.disconnect();
|
this._observer.disconnect();
|
||||||
this._observer.observe(this.element, { childList: true, subtree: true, attributes: true });
|
this._observer.observe(this.element, { childList: true, subtree: true });
|
||||||
} else {
|
} else {
|
||||||
clearInterval(this._resizeInterval);
|
clearInterval(this._resizeInterval);
|
||||||
this._resizeInterval = setInterval(() => {
|
this._resizeInterval = setInterval(() => {
|
||||||
|
|
Loading…
Reference in New Issue