Skip to content

Keyboard keys hardcoded and captured all the time #65

@uiii

Description

@uiii

Hi, thank for the library, works very well.

I have one issue though. I render custom footer from which I can open a modal with form inputs, the problem is, that even if I am focused in the input and press arrow keys, the slides move as well also some other keys like Home or End doesn't work because the lightbox capture all.

Not sure how to solve this, I see the keyboard keys are hardcoded in the lightbox.

Solution might be to capture keys only if the lightbox is focused, but not sure if there could be any issues.
Also might be very handy have the keys configurable and also possible to disable completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions