 				@_onClick?(@, ev)
 				return
 
-		@__input0 = @__input[0]
-
 		# CUI.debug "listening for dom insert on ", @__input
 		#
 		if @_content_size


	__setContentSize: ->

		@__contentSize0.value = @__input0.value

		if @hasShadowFocus()
			# we can only do this when shadow is focused,
			# otherwise the "blur" event on @__input0
			# will remove @__contentSize and we will run into errors
			@__contentSize0.focus()

		changed = false

		if @_textarea
			if @__input0.value.length == 0
				@__contentSize0.value = "A" # help IE out, so we get a height

			if DOM.width(@__input) != DOM.width(@__contentSize)
				DOM.width(@__contentSize, DOM.width(@__input))

			h = @__contentSize0.scrollHeight

			if @__max_height == null or h <= @__max_height
				@__input0.style.overflow = "hidden"
			else
				@__input0.style.overflow = ""

			previous_height = DOM.height(@__input)
			DOM.height(@__input, h)

			type: "blur"
			node: @__input
			call: (ev) =>

				if @hasShadowFocus()
					return

