Skip to content

onKeyDown on <Modal/> #1849

@mkaradeniz

Description

@mkaradeniz

Not sure if this was intended behavior, but I added an onKeyDown attribute on the <Modal />-Component to navigate through pictures shown inside Modal. But since Version 0.65.0 this doesn't work anymore.

Steps

Adding an onKeyDown attribute to <Modal />

Expected Result

Should fire the onKeyDown event.

Actual Result

Does not fire the onKeyDown event.

Version

0.65.0+

Testcase

0.64.8: https://codepen.io/anon/pen/bRQQwV?editors=1111 (Working, outputs the pressed key to the console.)
0.65.0: https://codepen.io/anon/pen/OgaBYe?editors=1111 (Not working, does not output the pressed key to the console.)

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