Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Context Menu not appearing at correct location.

Last post 03-20-2008, 3:33 AM by cutechat. 9 replies.
Sort Posts: Previous Next
  •  03-12-2008, 11:11 AM 37870

    Context Menu not appearing at correct location.

    The problem is occuring when my CuteEditor is placed in a page element with a fixed height and an overflow:scroll bar style.  When you scroll down within this page element to the cute editor and right click, the Menu appears at an absolute location within the page that does not account for the scrolling, resulting in my menu appearing FAR below where I clicked.
     
    Is this a known issue, and is there a workaround for it?  Let me know if I need to clarify my explanation of the problem.
     
    Thank you.
  •  03-12-2008, 11:45 AM 37877 in reply to 37870

    Re: Context Menu not appearing at correct location.

    MatthewBe,
     
    Are you using the version 6.0?
     
    If so, can you create a simple example showing the problems and send it to me?
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-12-2008, 12:01 PM 37880 in reply to 37877

    Re: Context Menu not appearing at correct location.

    Here is an example of what I am talking about.
     
     
    <html>
     <body>
      <div>Top</div>
      <div style="height:200px; overflow:scroll">
       Put CuteEditor Here
      </div>
      <div>Bottom</div>
     </body>
    </html>
     
     
    If you put a CE in the middle div tag, it will force a scroll bar in that div.  If your scroll is at the top and you right click, all is good.  If you scroll to the bottom and right click, you will see the menu displaced from your pointer.  If you had stuff above the CuteEditor inside the same DIV that it is in, this displacemenet between pointer and menu becomes extreme.
  •  03-12-2008, 12:47 PM 37885 in reply to 37877

    Re: Context Menu not appearing at correct location.

    Also, I am using 6.0
  •  03-12-2008, 12:59 PM 37886 in reply to 37880

    Re: Context Menu not appearing at correct location.

  •  03-12-2008, 1:33 PM 37891 in reply to 37886

    Re: Context Menu not appearing at correct location.

    It fails for me in your example.  I have tried it in IE7 and Firefox and the same thing occurs in both.  Below is an screenshot illustrating the problem.  My mouse (which is not shown) was in the middle of the CE.  When I right clicked, the menu appeared far below my mouse.  You have to scroll down inside the window that includes CE, and then right click inside the CE text area.  To clarify, you are following these steps and not experiencing the problem?
     
     
     
     
     
     
     
  •  03-12-2008, 2:13 PM 37893 in reply to 37886

    Re: Context Menu not appearing at correct location.

    Can anyone else confirm whether they are or are not experiencing the problem I have described on the example Adam has posted?
  •  03-13-2008, 11:40 AM 37920 in reply to 37893

    Re: Context Menu not appearing at correct location.

    Hi MatthewBe,
     
    I can replicate it using IE7. The trick to replication is - you must not be at the top of the scrollable area for it to happen.
     
    This issue seems to be consistent in all "scrollable DIV." Even the dropdowns from the toolbars incorrectly position when scrollable DIV is not at its original position.
     
    Here're some screenshots related to the issue: 
    The first image below shows the normal case: We're at the top of the scrollable area (See red circle), and context menu shows up at the correct position as expected.
     


    The second image is where the defect is: When the scrollable area is not at the TOP position (See the red circle), the context menu will show up at some random location. The red cross indicated where I clicked. As you can see, the context menu is completely off.

     
    Hope this helps!
    KennyW
  •  03-13-2008, 12:26 PM 37922 in reply to 37920

    Re: Context Menu not appearing at correct location.

    Thanks for taking the time to verify this issue.
     
    Adam, have you been able to reproduce it yourself?  If so, will you pass this information along?
  •  03-20-2008, 3:33 AM 38178 in reply to 37922

    Re: Context Menu not appearing at correct location.

    Hi  MatthewBe,
     
    I can reproduce this bug.
    We will fix it as soon as possible.
     
    Regards , Terry .
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.