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

Guard against potential NaN hoveredIndex #671

Open
carsoli opened this issue Oct 12, 2022 · 0 comments
Open

Guard against potential NaN hoveredIndex #671

carsoli opened this issue Oct 12, 2022 · 0 comments

Comments

@carsoli
Copy link
Contributor

carsoli commented Oct 12, 2022

    @carsoli I guess that could happen in theory, just has nothing to do with this PR. It could be guarded against by adding an `if (itemcount === 0) return` to the beginning of the handler.

Originally posted by @FlorianWendelborn in #670 (comment)

@carsoli carsoli changed the title Guard agains potential NaN hoveredIndex Guard against potential NaN hoveredIndex Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant