Project

General

Profile

Actions

Defect #39802

closed

Fix click event handling in mobile view after closing flyout menu

Added by salman mp 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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


Related issues

Related to Redmine - Patch #30448: Remove wrapper2 and wrapper3 wrapping containersClosedMarius BÄ‚LTEANU

Actions
Actions

Also available in: Atom PDF