I have a MM 2018, with 32GB RAM, 2TB SSD and the 3.2 i7 6-core. When I replaced my 2015 5K iMac I retained the keyboard and mouse (full size Apple BT Magic Keyboard and the original AA-battery Magic Mouse.
After a day or so I started getting the dreaded BT issues, the mouse would lose connection, become erratic or just relocate the cursor to random spots. The keyboard also would lose contact but not as often.
I swapped out the KB and mouse with the ones from my wife's iMac and they did the same thing.
I then read forums at MacRumors and elsewhere say that it appeared to be caused by using the outermost USB-A port (Apparently this is on the same bus as the BT module) or interference caused by nearby hard drives or other metal objects.
I had my main TimeMachine hard drive plugged into the outer USB port, my other drive was plugged into a powered hub in the inner USB-A port. I disconnected the drive from the outer port and plugged it into the hub. That seemed to do the trick and the mouse worked much better. I have had less dropouts with the mouse and none with the keyboard.
I then relocated the 2 TimeMachine hard drives to a nest under the desktop and hijacked my Logitech UltraThin mouse from my NUC to the Mac Mini. Since I did that I have had no issues at all. I have been using the outer port for a SuperDrive while I consolidated some old CD and DVD files and had no problems then. Now I use that port for the Lightning cable to charge/sync my iPhone and again no issues.
Has there been any official word from Apple on this issue? I am sure they must have had support calls on this problem.