- Issue created by @dadderley
- π¨π¦Canada danrod Ottawa
Hey @dadderley thanks for reporting this, I'll have a look on this today.
- π¨π¦Canada danrod Ottawa
Hey @dadderley , could you post some screens? What did you see in the console log?
- π¨π¦Canada dadderley Vancouver
Thanks for your reply.
This is a fresh install of Drupal 11.2.2 with no custom js or css.
This is the default theme: https://www.drupal.org/project/bootstrap4 β .
This is installed: https://www.drupal.org/project/jquery_deprecated_functions βWith this theme the dropdown menus and hamburger menus do not work.
Also the Slick Carousel, https://www.drupal.org/project/slick β , does not work.For both the homepage and the views page with the display set to 'Slick Carousel' I get this error in the Console
When I use Bootstrap 5 as the default theme, it all works.
I have several sites where I still use Bootstrap 4 as the base theme. I know I should update them to Bootstrap 5, but I don't have the time right now.
Thanks in advance.
- π¨π¦Canada danrod Ottawa
Open your page, open the console, enter
jQuery.fn.jquery
- what does it say?Most likely Bootstrap4 is shipped with another jQuery package.
- π¨π¦Canada dadderley Vancouver
Typed in: jQuery.fn.jquery
Response: '4.0.0-beta.2' - π¨π¦Canada danrod Ottawa
Strange, I was expecting more than one jquery version.
I'll do some checks myself. - πΊπΈUnited States daggerhart
Not sure if this helps, but BS v4 is detecting the jQuery version and throwing an error: https://github.com/twbs/bootstrap/blob/v4.6.2/js/src/util.js#L186-L188