Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
This commit is contained in:
commit
cc919452b5
76 changed files with 2187 additions and 581 deletions
|
@ -114,6 +114,8 @@ export default class ImageView extends React.Component<IProps, IState> {
|
|||
|
||||
componentWillUnmount() {
|
||||
this.focusLock.current.removeEventListener('wheel', this.onWheel);
|
||||
window.removeEventListener("resize", this.calculateZoom);
|
||||
this.image.current.removeEventListener("load", this.calculateZoom);
|
||||
}
|
||||
|
||||
private calculateZoom = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue