When i type, the text is trying to catch up or only inserts a few words
Most causes for this is due to flat or poor battery power, replace batteries in either keybopard or mouse.
You can also try moving the wireless dongle from the dock to the laptop or vice versa.