Im having trouble getting bluetooth to auto connect when in range of my bluetooth keyboard and mouse.

I usually have to tap on the keyboard before it even connects
Same with the mouse but now i cant even get the mouse to connect.

Tried many reboots
When selecting mouse set as input device in bluetooth options it crashed the phone and cause a reboot.