Hi Denis,
We appreciate your response. To be able to understand the issue better, let us know more details by answering the following questions:
• Can you tell us when the issue started?
• Were there any changes made prior to this matter? Have you tried restarting the device?
• Did you notice if there's an error code/message on the Surface Digitizer Integration from the Device Manager?
• As for the detaching and reattaching the clipboard and the base keyboard, were there any errors as well?
• What's the current Windows 10 OS Build and version of your Surface? To know this, type 'winver' on the Search bar/Cortana, then hit Enter. This will show the Windows build and version installed on Surface.
To help solve this issue, we suggest that you force the device to shut down and restart (performing a Forced Shutdown is like removing the battery from a laptop or unplugging a desktop PC. It resets the hardware and clears all the cache and memory for your hardware). You can check this link to get started.
If that doesn't work, please download and run the Surface Diagnostic Toolkit. It is a self-healing tool which looks for potential issues and fixes them, as well as ensures your device is completely up to date. The tool takes about 10-15 mins. to run. Once you run the toolkit, kindly follow the on-screen instructions.
Let us know how it goes.