Task #88160
closedImprove handling of unsharp clicks in the page tree
100%
Description
In the last couple of days I had a strange behavior in the pagetree: it would just ignore my clicks and nothing happend. This happened at least 50% of the time.
There where no errors on the JavaScript console.
After some testing I finally realized that the problem seems to be connected to the new mouse I bought. It seems to move a little when clicking.
This tiny movement is enough to enable the drag & drop behavior of the pagetree and ignore my click.
With older TYPO3 versions (tested with version 7) with the same (broken?) mouse there were no such problems. The pagetree worked just fine.
Possible solution¶
There is a setting in d3-drag called clickDistance.
After raising this setting a little bit the pagetree felt much smoother and responsive.
Further thoughts¶
I'm not sure how many people are affected by this problem. But there might be the risk that some are and they can not figure out what is going on. This can lead to frustration and a bad user experience.
With that in mind I think it is worth "fixing" the problem since I could not see any negative side effect.