Skip to content

Accesskey jQuery Modal Dialog not working #506

Closed
@CiTRO33

Description

@CiTRO33

Hello,

i upgraded to the latest Version of contextmenu.
With the new Version the accesskeys didn't work anymore in modal jQuery Dialogs
I created a demo to show the problem:
https://jsfiddle.net/t31wtnny/
The contextmenu can be triggered with right click on"test".

i figured it out that Linie 552 cause the problem:
getZIndexOfTriggerTarget(e.target);
// If targetZIndex is heigher then opt.zIndex dont progress any futher.
// This is used to make sure that if you are using a dialog with a input / textarea / contenteditable div
// and its above the contextmenu it wont steal keys events
if (targetZIndex > opt.zIndex) { return; }

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