Skip to content

bug: Modal keyboard control not workingΒ #116

@LexAgone

Description

@LexAgone

What version of FlyonUI are you using?

v2.4.0

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://flyonui.com/docs/overlays/modal/#keyboard-control

Describe your issue

Hi Flyonui team,
First of all, thanks for your work.

I found that the data-overlay-keyboard doesn't work anymore.

Steps to reproduce :

  1. Add data-overlay-keyboard="false" to the div.overlay.modal
  2. Open the modal
  3. Press 'Escape'

Unfortunately, the modal is closing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions