Actions
Defect #39802
closedFix click event handling in mobile view after closing flyout menu
Defect #39802:
Fix click event handling in mobile view after closing flyout menu
Resolution:
Fixed
Affected version:
Description
In the mobile view, after opening flyout menu, there is a javascript that prevents click event on #main element. After closing menu it must reset to normal bahaviour, but despite mentioned in Patch #30448#note-13: Remove wrapper2 and wrapper3 wrapping containers this is not patched yet.
Index: public/javascripts/responsive.js
<+>UTF-8
===================================================================
diff --git a/public/javascripts/responsive.js b/public/javascripts/responsive.js
--- a/public/javascripts/responsive.js (revision 41895:183d6d070b7e204d024b7f30fd0dac75ff60ef70)
+++ b/public/javascripts/responsive.js (revision 41895+:183d6d070b7e+)
@@ -11,7 +11,7 @@
function closeFlyout() {
$('html').removeClass('flyout-is-active');
- $('#wrapper').off('click');
+ $('#main').off('click');
}
Files
Actions