-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix: #288 Fixed Snippet tabs overwriting other tabs when closed #352
Conversation
@redcom Thanks so much for fixing! It almost behaves correct, but I find an error when I delete the rightmost tab.
|
This is true. I'll have a look later today. |
Thank you! |
Coll. I submitted a fix. It should be good now. Can you tell me what do you use to produce those animated gifs that show the issue? |
note: this.state.note, | ||
snippetIndex | ||
this.setState(() => { | ||
let snippets = this.state.note.snippets.slice() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you change let
to const
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
sure |
I assume this is more readable.
|
It looks like so. |
Cool! LGTM |
Thanks for accepting my commiting |
This should fix the issue for you.