Open mitar opened 8 years ago
When autofocusing a form, move the cursor to the end of the input box or editor. One can use:
editor.setSelectedRange(editor.getDocument().getLength() - 1)
See: https://github.com/basecamp/trix/issues/89
When autofocusing a form, move the cursor to the end of the input box or editor. One can use:
See: https://github.com/basecamp/trix/issues/89