boltdesignsystem / bolt

The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
https://boltdesignsystem.com
MIT License
292 stars 45 forks source link

DS-459 Comment out esc key hijack in PL #2488

Closed danielamorse closed 2 years ago

danielamorse commented 2 years ago

Jira

https://pegadigitalit.atlassian.net/browse/DS-459

Summary

Comment out PL JS that is preventing escape key event from firing.

Details

This appears to be a part of the PL Search or navigation component. It captures escape keypress and prevents it from returning in certain cases. I don't believe we even have PL search anymore so I feel comfortable removing this. If it causes any minor escape-key regressions in PL I'm also fine with that as it's interfering with core component functionality (we need escape key to close dialog).

How to test