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

(docs) Aside is hidden on animation complete in Safari

Open ehunter opened this issue 12 years ago • 10 comments

After opening & closing an aside 3 or 4 times in Safari the aside is hidden when it's open animation completes. I can repro the issue using the documentation site here: http://mgcrea.github.io/angular-strap/#/page-one#asides

  1. Navigate to the asides demo
  2. Click to toggle aside
  3. Click away from the aside to close it and repeat 3 or 4 times.
  4. Eventually the aside will disappear once it finishes animating in. It reappears quickly before closing.

This only happens is Safari (I'm on v6.1). Anyone else see this? Maybe this an ngAnimate issue?

ehunter avatar Feb 06 '14 19:02 ehunter

@ehunter I can confirm this bug, I think it may come from Safari rendering engine (the inspection shows that the div should be visible). But it could also come from ngAnimate.

mgcrea avatar Feb 06 '14 19:02 mgcrea

Can't reproduce this issue in a plunker:

http://plnkr.co/edit/9ZrEgEuGd7L7uj2jkQjW?p=preview

So there might be something in the docs layout that's causing theses issues. Would be nice to isolate the problem.

mgcrea avatar Feb 07 '14 09:02 mgcrea

I can't reproduce this issue either outside of the documentation site. I'm not sure at this point what's causing the issue?

ehunter avatar Feb 10 '14 19:02 ehunter

Hi, guys

I just pick this issue up, my Safari: Version 7.0.1 (9537.73.11)

I remember I got the similar problem with jQuery before in safari before, it happened in the toggle method, safari will close the collapse the toggle sometimes. In the screen shot, looks like the safari collapse the aside, but it doesn't modify the DOM, as I clicked the area, the aside will close

the other thing is sometimes I click on the toggle aside button, the modal doesn't appear but aside does.

Think the problem is with safari and css animation, I am running on locale, the aside function works fine without css animation, but the problem will occur once css animation apply

screen shot 2014-02-28 at 2 15 22 pm

neaped avatar Feb 28 '14 06:02 neaped

The other similar bug, the modal will disappear sometimes, this happened once 'click to toggle aside' button click to fast

think every time if safari doesn't finished(cancel, delete, react or .... ) with the previous DOM rendering, it will confuse itself it start next rendering job?

screen shot 2014-02-28 at 2 53 57 pm

neaped avatar Feb 28 '14 06:02 neaped

Still not sure what is causing this, hopefully it's isolated in the docs. If anyone can produce a plunker that shows the weird behavior, we'll be able to investigate more.

mgcrea avatar Mar 19 '14 09:03 mgcrea

Can anyone with Safari confirm if this is still happening?

vmlf01 avatar Dec 20 '14 18:12 vmlf01

Yes this is still happening

SolStis86 avatar Jul 27 '16 12:07 SolStis86

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 26 '19 01:01 stale[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar May 06 '19 16:05 lock[bot]