This clear needs to add 'updateInputHeight' for getting the right reset of the input.