Open transaction date picker when clicked while it's focused (#1583)

* Open transaction date picker when clicked while it's focused

* Release notes
This commit is contained in:
Joel Jeremy Marquez
2023-08-29 07:13:34 -07:00
committed by GitHub
parent 99dc87d715
commit 245c59e942
2 changed files with 11 additions and 0 deletions

View File

@@ -306,6 +306,11 @@ export default function DateSelect({
{...inputProps}
inputRef={inputRef}
value={value}
onPointerUp={e => {
if (!embedded) {
setOpen(true);
}
}}
onKeyDown={onKeyDown}
onChange={onChange}
onFocus={e => {

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [joel-jeremy]
---
Fix to open transaction date picker when clicked while it's focused