-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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 tab.js Problem #25384
Fix tab.js Problem #25384
Conversation
@dercodercom: can you share a codepen demonstrating this issue? The fix does make sense in general, but we need to see when it actually fails. |
agree with @XhmikosR |
@XhmikosR the test link: https://codepen.io/anon/pen/mpYPaQ if you close a non-selected tab, the error comes. |
weird use case 🤔 Anyway, we need a unit test |
@dercodercom: can you add a unit test as per @Johann-S's comment above? |
Hey there! We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 14 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked. Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue. Thanks! (Please note that this is an automated comment.) |
@Johann-S: maybe we should reconsider for this? |
ping @dercodercom |
Hey there! We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 14 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked. Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue. Thanks! (Please note that this is an automated comment.) |
@Johann-S: do you still plan to add a test case for this? If not let's close it. |
Yep we should add a unit test here, if @dercodercom cannot I'll try to do that |
He hasn't responded for a long time so if you could tackle this that'd be awesome :) |
I'm using Tab.js with remove function and get an error "TypeError: container is undefined [more info]", with this check the error is fixed.
@XhmikosR the job is done here, if you want to take a look 😉 |
I'm using Tab.js with remove function and get an error "TypeError: container is undefined [more info]", with this check the error is fixed.
Fixes: #27522