Renaming folder or file is not working on force click
I have found a discussion with this problem, but no fixes were provided (I couldn't reply to the guy's question there, because it is already closed). So I have found a fix myself go to System Preferences > Trackpad > there choose "Point & Click" tab and there turn off and then turn on again the checkbox "Look up & data detectors" (I have it enabled on "Force click with one finger"). Now you can try to edit the folder's name on force click (it has worked for me). Hopefully it helps. I think reloading a Mac would also solve this problem, but I haven't tried it, but either way here is an easy fix.
Earlier Mac models