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

Drop-down flickers in IE and EDGE

Open sboykova opened this issue 8 years ago • 2 comments

Description

Drop-down flickers in IE and EDGE

  • igniteui-angular version: 6.2.0-beta.7
  • browser: IE, EDGE

Steps to reproduce

  1. Open https://staging.infragistics.local/products/ignite-ui-angular/angular/components/drop_down.html
  2. Open any drop-down

Result

Drop down flickers

Expected result

Drop down should open smoothly

sboykova avatar Oct 30 '18 09:10 sboykova

Adding the toggle label, since this issue is reproduced by using a simple toggle directive as well.

tachojelev avatar Nov 12 '18 13:11 tachojelev

This issue seems to be caused by the fact that IE triggers animations a bit slower when compared to browsers like Chrome and Firefox. The element we want to show first gets attached in the overlay fully visible and then we trigger an animation for it. This operation is the one that is visibly flickering in IE.

If we attach the element in the overlay by setting its display to none and then trigger the animation and set the display back to block a bit after the animation has already started, we can notice how the issue is no longer reproduced. However this is not a suitable solution, since we need the element to be fully visible initially for the Scroll strategy and in order to work with various animations (when it comes to animation duration).

image

@wnvko would probably be able to shed a bit more light on this issue.

tachojelev avatar Nov 19 '18 07:11 tachojelev