release v1.0.0 #14

Merged
thefeli73 merged 63 commits from develop into master 2019-11-12 18:53:53 +01:00
Showing only changes of commit 2cf7294ce0 - Show all commits

View File

@ -3120,7 +3120,7 @@ MaterialTooltip.prototype.init = function () {
this.forElement_.addEventListener('touchend', this.boundMouseEnterHandler, false); this.forElement_.addEventListener('touchend', this.boundMouseEnterHandler, false);
this.forElement_.addEventListener('mouseleave', this.boundMouseLeaveAndScrollHandler, false); this.forElement_.addEventListener('mouseleave', this.boundMouseLeaveAndScrollHandler, false);
window.addEventListener('scroll', this.boundMouseLeaveAndScrollHandler, true); window.addEventListener('scroll', this.boundMouseLeaveAndScrollHandler, true);
window.addEventListener('touchstart', this.boundMouseLeaveAndScrollHandler); window.addEventListener('touchstart', this.boundMouseLeaveAndScrollHandler, {passive: true});
} }
} }
}; };
@ -3905,7 +3905,7 @@ MaterialRipple.prototype.init = function () {
this.ignoringMouseDown_ = false; this.ignoringMouseDown_ = false;
this.boundDownHandler = this.downHandler_.bind(this); this.boundDownHandler = this.downHandler_.bind(this);
this.element_.addEventListener('mousedown', this.boundDownHandler); this.element_.addEventListener('mousedown', this.boundDownHandler);
this.element_.addEventListener('touchstart', this.boundDownHandler); this.element_.addEventListener('touchstart', this.boundDownHandler, {passive: true});
this.boundUpHandler = this.upHandler_.bind(this); this.boundUpHandler = this.upHandler_.bind(this);
this.element_.addEventListener('mouseup', this.boundUpHandler); this.element_.addEventListener('mouseup', this.boundUpHandler);
this.element_.addEventListener('mouseleave', this.boundUpHandler); this.element_.addEventListener('mouseleave', this.boundUpHandler);