Skip to content

navbar-expand appears inconsistently #133

Description

@4levels

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Navbar's navbar-expand-* breakpoint should be respected

Current Behavior

The navbar always toggles on the lg breakpoint, so if a different breakpoint is set by using eg. navbar-expand-sm (instead of the default navbar-expand-lg), the navbar still collapses on the lg breakpoint, leaving it unusable between the desired breakpoint and the lg breakpoint. When reaching the desired breakpoint, all looks good again

Failure Information (for bugs)

This seems to be an existing bug and was already fixed in the pro version 2.0.3, just a I found out in this issue: creativetimofficial/ct-material-kit-pro#75
Since the pro version is an empty repo, I cannot apply the fix myself

Steps to Reproduce

  1. Copy the sample code from the navbar section
  2. Adjust the navbar-expand-lg class to any other breakpoint, eg. -sm, -md, -xs
  3. Resize the browser window untill you cross the -lg breakpoint
  4. The navbar is now unusable between the lg breakpoint and the chosen breakpoint
  5. When resizing futher and reaching the desired breakpoint, all looks good again

Context

  • Device: HP Probook G3
  • Operating System: ElementaryOS - Ubuntu 16.04 LTS
  • Browser and Version: Chromium Version 66.0.3359.181 (Official Build) Built on Ubuntu , running on elementary 0.4.1 (64-bit)

Failure Logs

I can provide screenshots if needed, but this issue is so obvious and so easy to reproduce, please ask if needed

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions