We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Not hiding context menu when scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

147793 Sep 24,2019 12:05 PM UTC Nov 25,2019 01:03 PM UTC Vue 6
loading
Tags: Gantt Chart
Tomasz Tomczykiewicz
Asked On September 24, 2019 12:05 PM UTC

Hi,

When I have opened the context menu and I scroll, the context menu doesn't disappear. I want to hide the context menu, how to achieve this?

Best regards,
Tomasz Tomczykiewicz

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On September 25, 2019 01:59 PM UTC

Hi Tomasz, 
 
We are able to reproduce the reported issue. We will update further details about this issue by September 26, 2019. Now we have resolved this by work-around. We can bind scroll event to the element using JavaScript addEventListener method in the created event of Gantt control. In this event handler, by using close method of Context Menu, we can hide it during scroll action. Please find the below code example. 
 
 
<template> 
   <div> 
      <ejs-gantt ref="gantt" 
        //... 
         :created="created"> 
      </ejs-gantt> 
   </div> 
</template> 
<script> 
export default { 
  //... 
  methods: { 
    created: function(args) { 
      this.$refs.gantt.ej2Instances.ganttChartModule.scrollElement.addEventListener("scroll", function(e) { 
          if(document.getElementById("GanttContainer_contextmenu")) { 
            var contextMenu = document.getElementById("GanttContainer_contextmenu").ej2_instances[0]; 
            contextMenu.close(); 
          } 
        } 
      ); 
    } 
  } 
}; 
</script> 
 
Please find the below sample link. 
 
Regards, 
Pooja Priya K. 
 



Gurunathan A [Syncfusion]
Replied On September 26, 2019 01:02 PM UTC

Hi Tomasz, 
 
We have checked your reported issue and we confirmed this as a defect and planned to include the fix for this issue in our Essential studio Volume 3 SP1 release. Please find the feedback portal link below. 
Until then we appreciate your patience. 
  
Regards, 
Gurunathan 


 


Tomasz Tomczykiewicz
Replied On September 27, 2019 06:29 AM UTC

Hi,

Thanks for response.
When this release will be published?

Best regards,
Tomasz Tomczykiewicz

Gurunathan A [Syncfusion]
Replied On September 27, 2019 09:22 AM UTC

Hi Tomasz,  
  
We are expecting the volume 3, SP1 2019 will be roll out in the mid of November, 2019.  
  
Please let us know if any concerns.  
  
Regards, 
Gurunathan  


Tomasz Tomczykiewicz
Replied On November 22, 2019 09:05 AM UTC

Hi,

Has the issue been fixed?

Best regards,
Tomasz Tomczykiewicz

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On November 25, 2019 01:03 PM UTC

Hi Tomasz, 
Sorry for the inconveniences. 
We have reported the context menu team regarding this. They have fixed this issue. We checked this in Gantt with updated source. The issue arises as we set the target element as Gantt container. We logged a bug for this. We will fix this issue and  the fix will be included in our upcoming weekly patch release which is expected to be rolled out on December 4, 2019. You can track the status from below feedback link. 

Until then you can use the work-around solution which was provided in the previous update. 

Regards, 
Pooja Priya K. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon