Skip to content

Demonstrate bug with esc key in command palette in HeadlessUI

Notifications You must be signed in to change notification settings

EPLibrary/esc-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeadlessUI Modal Escape key bug

This project demonstrates a bug with comboboxes in modal dialogs in recent versions of HeadlessUI.

When the combobox input has focus, pressing esc does not close the dialog.

Pressing esc does work properly if you click just below the input inside of the modal.

HeadlessUI v.1.6.1 works fine, but v.1.6.2 does not. You can test this by downgrading headlessui to v.1.6.1 and running npm install, then rebuilding this project

About

Demonstrate bug with esc key in command palette in HeadlessUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published