Actions
Bug #13376
closed
MV
RM
WPopupMenu displaying upon hiding
Bug #13376:
WPopupMenu displaying upon hiding
Start date:
01/06/2025
Due date:
% Done:
100%
Estimated time:
Description
In case that no resource directory is set hiding the pop-up from the WPopupMenu by clicking off it, clicking the button to open it again, or selecting an item will result in the pop-up element still being displayed near the bottom of the page.
In case this is not reproducible, open the developer tools, and disable the cache (otherwise the website will fall back on a previous theme).
This happens due to the JS code:
Where WPopupMenu::setHidden() performs:
This results in "bad" values for all empty strings, clearing the "none" value, where it doesn't.
Since this sets a bad value, with side-effects, we should verify that for other cases where a CSS property is set to "", this doesn't lead to edge cases.
RM Updated by Romain Mardulyn over 1 year ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
RM Updated by Romain Mardulyn over 1 year ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
MV Updated by Matthias Van Ceulebroeck over 1 year ago
- Assignee set to Matthias Van Ceulebroeck
MV Updated by Matthias Van Ceulebroeck over 1 year ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
- % Done changed from 0 to 100
MV Updated by Matthias Van Ceulebroeck over 1 year ago
- Status changed from Implemented @Emweb to Implemented @Test
MV Updated by Matthias Van Ceulebroeck over 1 year ago
- Status changed from Implemented @Test to Closed
Actions