daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: showModal using onKeyDown Enter not working

Open Drian-key opened this issue 1 year ago โ€ข 1 comments

What version of daisyUI are you using?

^4.8.0

Which browsers are you seeing the problem on?

Chrome

Reproduction URL

Describe your issue

document.getElementById("deletePurcaseOrder").showModal();

not working using on key down Enter, but if i using an-other key its work

Drian-key avatar May 09 '24 16:05 Drian-key

Thank you @Drian-key for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

github-actions[bot] avatar May 09 '24 16:05 github-actions[bot]

daisyUI is just the CSS. We're simply using the HTML <dialog> element:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

saadeghi avatar May 10 '24 18:05 saadeghi