narmi/design_system

[Popover] Enter key handler is unqualified

Closed this issue ยท 1 comments

Component/Module

Popover

Reproduction Steps

With a popover on a page, hit the Enter key.

Expected Result

The Popover should only open on Enter press if focused on the trigger

Actual Result

The Popover always opens when Enter is pressed

Additional Details / Context

We just need to do a ref check in our handler OR bind a key event directly to the trigger

๐ŸŽ‰ This issue has been resolved in version 3.1.6 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€