Feature handle copypaste

Bug when a text is pasted into the <input> : the value catched by the event is the previous one, so the size is not the good one.