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

sequences Bigint NaN conversion error hangs factorfence #474

Open
katestange opened this issue Oct 26, 2024 · 2 comments
Open

sequences Bigint NaN conversion error hangs factorfence #474

katestange opened this issue Oct 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@katestange
Copy link
Member

To reproduce, open this URL:
http://localhost:5173/?name=Formula&viz=FactorFence&highlight=17&seq=Formula&formula=2
Then click into the formula box and backspace the 2. The following error message pops up:

Error Message:
RangeError: NaN can't be converted to BigInt because it isn't an integer

The factorfence goes blank. The really unfortunate aspect of this is that putting the 2 back doesn't fix things... it appears you cannot recover factorfence in any way except a hard browser reload or choosing another visualizer. Tested in Firefox & Chromium.

@katestange katestange added the bug Something isn't working label Oct 26, 2024
@gwhitney
Copy link
Collaborator

Which milestone? Alpha or beta? I agree we should fix this.

@katestange
Copy link
Member Author

I'm ok with either.

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
None yet
Development

No branches or pull requests

2 participants