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

Fix JS components console error "Error: <Component> is transitioning" #21743

Merged
merged 9 commits into from
Mar 28, 2017

Conversation

pvdlg
Copy link
Contributor

@pvdlg pvdlg commented Jan 16, 2017

Fixes #21727

@zcrwind
Copy link

zcrwind commented Jan 17, 2017

No violations found. Woof!

Nice work.

Copy link
Member

@Johann-S Johann-S left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @vanduynslagerp thank you 👍

@gabrielkoerich
Copy link

Will it be merged?

@PlugIN73
Copy link

PlugIN73 commented Mar 6, 2017

Good time to merge! ;)

@jakeNiemiec
Copy link

jakeNiemiec commented Mar 7, 2017

@PlugIN73 too bad Savage is taking so long.

js/src/modal.js Outdated
@@ -162,16 +161,17 @@ const Modal = (($) => {
}

if (this._isTransitioning) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vanduynslagerp I think you should add a !this._isShown check here. If you don't and hide() is called when the modal is already hidden _isTransitioning is set to true and never reset to false.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch ! Modification done. Thanks

@mdo
Copy link
Member

mdo commented Mar 20, 2017

@Johann-S @bardiharborow Is this PR good to merge over #21613? Seems this PR fixes the tooltip in modal issue (#21607), and other related transition issues as mentioned in #21727.

@Johann-S
Copy link
Member

@mdo this PR do not fix the same issue as #21613. But yes the PR fix other issues related to #21727 (but not this one #21607)

@dataflowjs
Copy link

the some problem: github

@alecpl
Copy link
Contributor

alecpl commented Mar 28, 2017

Would be nice to have popover fixed in the beta release, please.

@Johann-S
Copy link
Member

@vanduynslagerp I rebased your branch and now your branch is up to date. I'll review your code asap

@Johann-S
Copy link
Member

It seems I cannot update your repository anymore, so can you update your branch and I'll merge because everything is fine @vanduynslagerp

@CydGoblin
Copy link

Does this apply to npm? I just downloaded it with npm and have this error.

@Johann-S
Copy link
Member

You'll have this fix on the next release of BS4 @Turqueso not Alpha6

@jakeNiemiec
Copy link

@Turqueso And here is the progress for the next release just in case if you (like me) are eagerly waiting.

@selfagency
Copy link

I pulled the current v4-dev branch into a project in which I'm receiving a "collapse is transitioning" error (understrap/understrap-child#46) and the problem persists, even with this merge.

child-theme.min.js?ver=0.2.2:formatted:1876 Uncaught Error: Collapse is transitioning
    at a.show (child-theme.min.js?ver=0.2.2:formatted:1876)
    at a.toggle (child-theme.min.js?ver=0.2.2:formatted:1870)
    at HTMLDivElement.<anonymous> (child-theme.min.js?ver=0.2.2:formatted:1997)
    at Function.each (jquery.js?ver=1.12.4:2)
    at jQuery.fn.init.each (jquery.js?ver=1.12.4:2)
    at jQuery.fn.init.a._jQueryInterface [as collapse] (child-theme.min.js?ver=0.2.2:formatted:1987)
    at HTMLButtonElement.<anonymous> (child-theme.min.js?ver=0.2.2:formatted:2020)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)

child-theme.min.js is a concatenated version of bootstrap 4's js modules. You can see it here.

@hernimen
Copy link

still getting this error. Any idea?

@Johann-S
Copy link
Member

This fix will be in our next release

@selfagency
Copy link

I was able to resolve this issue by removing hidden-md-down from my navbar-menu

@ReSpawN
Copy link

ReSpawN commented Aug 15, 2017

@Johann-S when is your next release scheduled? We're still using static shows instead of transitions/animations. We can merge and pull from this brand but we'd rather wait for a release from your end.

@Johann-S
Copy link
Member

We shipped a release 4 days ago see : https://github.com/twbs/bootstrap/releases/tag/v4.0.0-beta or our blog

@ReSpawN
Copy link

ReSpawN commented Aug 15, 2017

Don't know how I missed that! I'll start implementation in the morning! Tx.

@emmanueltouzery
Copy link

beta fixed it for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet