Closed checkin247 closed 6 years ago
Hi @checkin247!
There is a built-in function to move the caret. It is as you mentioned kb.caret('end')
. I think it isn't working because you need to update the last position – I'll update the internal function to do this automatically.
The problem is that this keyboard plugin isn't 100% compatible with masking plugins. They both will fight for caret control (see #201). Also mentioned in that issue is the problem with using mask plugins with screen readers and a possible solution.
@Mottie , thanks for taking the time to explain that to me. I will try this out and comment
I'm guessing this issue has been resolved, so I'm going to close it. If you continue to have problems, please feel free to continue the discussion in this thread.
Issue is related to IE, Tested on IE and Chrome
I am using some logic to automatically add a separator on keyboard input for date separator.
Using the real keyboard there is no issue. With mottie keyboard, the cursor moves back one position before the separator. I also tried to add the separator with the typing extension.... I also tried kb.caret('end')
The only solution (after trying a lot) was using a jQuery plugin to move cursor to the end.
I implemented it with
Maybe this helps someone or there is a built in function to overcome this issue