Cannot click mouse while moving in minecraft

In Java Minecraft 1.16.5 I cannot left click my mouse while moving. I am running Dell Inspiron 7746 and Windows 10. I already changed touchpad sensitivity to most sensitive as suggested in many posts. I also learned that reassigning mouse left click to keyboard helps, but I do not like this solution. I also tried disabling touchpad without any luck. I also reinstalled Minecraft. Funny enough I have Windows Minecraft edition on the same computer and it works fine.
What else can I do to fix the problem?
Best Answer
In my experience this was caused by the Synaptics touchpad software. Try the following:
Open mouse properties (open Run with windows key + R and type 'control mouse' without quotations)
Open the 'Clickpad' tab and then click on Values
Click on Advanced and then on SmartSense/Palm Check.
Set it to the minimum (or 'Off' if the option is available)
Pictures about "Cannot click mouse while moving in minecraft"



Why is my click not working in Minecraft?
To fix this, go to settings, options, controls and make sure attack/destroy is on left click. If this does not fix it, it may be an error that is only fixable by reinstalling java and/or Minecraft.How do you fix the mouse sensitivity glitch in Minecraft?
Opt for keyboard shortcuts in place of mouse control.How do you move in Minecraft with a mouse?
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Vojtech Okenka, Lex Photography, Olha Ruskykh, Designecologist