Skip to content

Reposition and open-close behaviour after scrolling document #69

Closed
@thanatos801

Description

@thanatos801

Hi,

While testing your plug-in I found out a "strange" behaviour :

Normal behaviour : A right click on a context menu trigger displays the context menu or reposition it. If more context menu triggers are present clicking on one when another is displayed the displayed one is closed and the other one is displayed. So far everything is ok.

Strange behaviour : If you scroll down up to +/− 50 pixel and test again the context menu behaves differently. A right click on a context menu trigger, when it is already displayed, does not reposition it, instead it is closed. If more context menus triggers are present clicking on one when another is displayed does only close the displayed one but not open the other one. To reposition one context menu or to open another one I have to click a second time on the trigger.

This can be reproduced on your own demo page at least for both examples :
Simple Context Menu and Adding new Context Menu Triggers

Tested and reproducible on FF14 , IE8, IE9, Chrome21, Safari5 and Opera11.

Could not figure out how to fix it nor if it is due to jquery or to your plug-in.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions