()
| 56 | } |
| 57 | |
| 58 | updateDisplay() { |
| 59 | // Stops the caret from moving on account of: |
| 60 | // keyup -> setValue -> updateDisplay |
| 61 | if (!dom.isActive(this.__input)) { |
| 62 | this.__input.value = this.getValue(); |
| 63 | } |
| 64 | return super.updateDisplay(); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | export default StringController; |