Skip to content
Snippets Groups Projects
Commit e9ba620f authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[BUGFIX] Fix various context menu visibility issues

The context menu skeleton is partially visible for a very short time,
before its items are rendered and event listeners are attached. This is
revealed by some flaky acceptance tests and was previously workarounded
by an additional ->wait() call in the tests. The context menu stays
hidden now until everything is set up and the workaround in the AC tests
is removed again.

The context menu gets hidden after 500ms once the user moved the mouse
out of its boundaries. However, that timeout was never reset which closed
another context menu that might have opened within that 500ms time span.
To circument this issue, such timeouts are now monitored and cleared
again once a new context menu is requested.

Resolves: #94891
Releases: master, 10.4
Change-Id: Ia0551d8c0b41edeca27cd0b15e4285a89ad2c171
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70592


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarAlexander Nitsche <typo3@alexandernitsche.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAlexander Nitsche <typo3@alexandernitsche.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 53649c82
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment