[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:core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-b...
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ContextMenu.ts 32 additions, 16 deletions...Script/backend/Resources/Public/TypeScript/ContextMenu.ts
- typo3/sysext/backend/Resources/Public/JavaScript/ContextMenu.js 1 addition, 1 deletion...sysext/backend/Resources/Public/JavaScript/ContextMenu.js
- typo3/sysext/core/Tests/Acceptance/Backend/Impexp/ExportCest.php 0 additions, 8 deletions...ysext/core/Tests/Acceptance/Backend/Impexp/ExportCest.php
- typo3/sysext/core/Tests/Acceptance/Backend/Impexp/ImportCest.php 0 additions, 14 deletions...ysext/core/Tests/Acceptance/Backend/Impexp/ImportCest.php
- typo3/sysext/core/Tests/Acceptance/Backend/Impexp/UsersCest.php 0 additions, 18 deletions...sysext/core/Tests/Acceptance/Backend/Impexp/UsersCest.php
Please register or sign in to comment