Added onHeightChanged call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
							parent
							
								
									ad5c8fe7e4
								
							
						
					
					
						commit
						77248725ed
					
				|  | @ -147,6 +147,10 @@ export default class TextualBody extends React.Component { | |||
|                 pre.className = "mx_EventTile_collapsedCodeBlock"; | ||||
|                 button.className += "mx_EventTile_expandButton"; | ||||
|             } | ||||
| 
 | ||||
|             // By expanding/collapsing we changed
 | ||||
|             // the height, therefore we call this
 | ||||
|             this.props.onHeightChanged(); | ||||
|         }; | ||||
| 
 | ||||
|         div.appendChild(button); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Šimon Brandner
						Šimon Brandner