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

why not work dropdown navbar v4.2.1 #170

Closed
nikolaokonesh opened this issue Jan 11, 2019 · 3 comments
Closed

why not work dropdown navbar v4.2.1 #170

nikolaokonesh opened this issue Jan 11, 2019 · 3 comments

Comments

@nikolaokonesh
Copy link

not work dropdown navbar bootstrap v4.2.1

why?

@wynksaiddestroy
Copy link

I’ve got the same problem as @nikolaokonesh. I tried two browsers.

Chrome 71.0.3578.98 says:

Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '/events/2' is not a valid selector.

Safari 12.0.2 (14606.3.4) says:

SyntaxError: The string did not match the expected pattern.

Both are refering to line 150 of bootstrap.js:

return selector && document.querySelector(selector) ? selector : null;

@wynksaiddestroy
Copy link

It seems to be a bug of bootstrap itself rather than the gem: twbs/bootstrap#27903

@Johann-S
Copy link
Member

Exactly @wynksaiddestroy and the fix will be in our next release.

You can find a workaround here: twbs/bootstrap#27903 (comment)

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

3 participants