Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After entering a recipe ingredient, the next recipe ingredient input doesnt show skip quantity dropdown #24

Closed
m-lyon opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@m-lyon
Copy link
Owner

m-lyon commented Dec 20, 2024

After completing one recipe ingredient and focus is shifted to the next input, the dropdown menu should show but it doesnt

@m-lyon m-lyon added this to Recipe Nov 7, 2024
@m-lyon m-lyon self-assigned this Dec 20, 2024
@m-lyon m-lyon converted this from a draft issue Dec 20, 2024
@m-lyon m-lyon added the bug Something isn't working label Dec 20, 2024
@m-lyon
Copy link
Owner Author

m-lyon commented Dec 20, 2024

Slightly related, the click action and key enter action have different effects because of the inability to apply onPointerDown={(e) => e.preventDefault()} to the DropdownItem ListItem due to the testing library not having the correct user.click behaviour when onPointerDown is default prevented. See this issue for reference. When this issue in the testing library is fixed, should apply onPointerDown={(e) => e.preventDefault()} and remove the refocusing in onClick in Dropdown.

@m-lyon m-lyon closed this as completed Dec 20, 2024
@github-project-automation github-project-automation bot moved this from Bugs to Done in Recipe Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant