kangax/fabric.js — pull request #1173 by boomyjee (2014-02-17 02:31:51+00:00)
Title: IText stealing focus from other inputs

When IText is in edit mode there is no way to enter value to other input (for example - input to change font-size). That's because click returns focus to hidden textarea. Also IText steals key events because it is listening for them at document level.

This patch binds key events to hidden textarea and limits click event for returning focus to canvas IText belongs to.