igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

igxToggle - Target content can't be closed when ChangeDetectionStrategy.OnPush

Open tkiryu opened this issue 8 years ago • 0 comments

Description

Target content can't be closed when ChangeDetectionStrategy.OnPush.

Steps to reproduce

  1. Go to https://stackblitz.com/edit/igx-toggle-issue
  2. Click the Toggle button to open a content.
  3. Click the outside the button to close the content.
  4. Click the Toggle button again to close the content.

Result

Target content can't be closed no matter what I do when ChangeDetectionStrategy.OnPush.

Expected result

Target content should be closed regardless of ChangeDetectionStrategy.

tkiryu avatar Apr 04 '18 09:04 tkiryu