Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

import DISABLE_DEFAULT_BREAKPOINTS has gone missing since upgrading to v6.0.0-beta.16 #770

@Mufasa

Description

@Mufasa

Bug Report

What is the expected behavior?

import { DISABLE_DEFAULT_BREAKPOINTS } from '@angular/flex-layout'; should work as documented in your Wiki (https://github.com/angular/flex-layout/wiki/Breakpoints).

What is the current behavior?

The import is not found.

What are the steps to reproduce?

Here is a StackBlitz example that demonstrates the issue: https://stackblitz.com/edit/flexlayout-eg9xpj

DISABLE_DEFAULT_BREAKPOINTS is no longer found as an import in src/app/app.module.ts.

What is the use-case or motivation for changing an existing behavior?

I want to disable the default breakpoints and have my app only use the custom breakpoints that I have defined.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 6.0.3
Material 6.2.0
macOS High Sierra v10.13.4
Chrome Version 66.0.3359.181 (Official Build) (64-bit)

Is there anything else we should know?

This import used to work in @angular/flex-layout v6.0.0-beta.15.

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