Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Bootstrap menu not collapsing #846

Closed

Description

@tigerwil

The bootstrap "hamburger" menu is not collapsing in some frameworks..

Activity

  1. Kevenvz commented on Apr 7, 2017

    @Kevenvz
    Contributor

    Can you please specify which template(s)?

  2. tigerwil commented on Apr 7, 2017

    @tigerwil
    Author

    When generating an ASP.NET Core SPA application using Yeoman (Version 0.9.0)
    yo aspnetcore-spa

    The Bootstrap "hamburger" menu does not collapse when window is resized for the following templates:
    -Knockout
    -React
    -Vue

    The menu works fine in these templates:
    Angular
    Aurelia
    React + Redux

    Also is there a fix for the invalid html generated within the Angular template
    <title></title><style>...

  3. SteveSandersonMS commented on Apr 7, 2017

    @SteveSandersonMS
    Member

    Thanks for reporting this! The issue was just that we were missing import statements for the bootstrap JS in the boot-client files. You can fix it in your own app by adding the line as in this commit: 5dc4761

  4. tigerwil commented on Apr 7, 2017

    @tigerwil
    Author
  5. SteveSandersonMS commented on Apr 7, 2017

    @SteveSandersonMS
    Member

    @tigerwil Make sure you're running in development mode, or run webpack manually to rebuild the client-side assets. Adding that line is certainly enough to make it work when I tried.

  6. tigerwil commented on Apr 7, 2017

    @tigerwil
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions