ionic-4-components icon indicating copy to clipboard operation
ionic-4-components copied to clipboard

fix(stepper): console error in development mode

Open vagnersabadi opened this issue 4 years ago • 0 comments

Problem

When adding the stepper component in a modal, the error below is displayed on the browser console in development mode.

Captura de Tela 2021-05-27 às 17 30 33

Solution

ChangeDetectorRef was added to detect changes in the component and no longer show the error

Step by step to reproduce

  1. Create a modal
  2. Import the component stepper to the modal

Solution taken from here

https://github.com/gbrlsnchs/material2-carousel/issues/8

vagnersabadi avatar May 27 '21 20:05 vagnersabadi