Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "done"/"saved" statuses to not block clicks when they disappear.
Also actually hide them on IE8,9. (part of collateral damage I inflicted dealing with #56) Tested on Chrome and Firefox, will test more before deploying. This really could use automated testing, but it's rather tricky :-( http://stackoverflow.com/a/10352525/239657 and http://www.taccgl.org/blog/css-transition-visibility.html have good explanations why `visibility` transition does the right thing. I discovered that I had to set `#status_container{ visibility: hidden }` or it wouldn't work on Chrome; this also avoids #status_container from blocking clicks, so reverting the less elegant `height: 0`. I wasn't sure if I should also set `pointer-events: none`. It makes sure you can click through the status even when it's visible, but I'm not sure that's a feature, it doesn't work on IE<11, and would mysteriously prevent adding a hover tooltip to statuses.
- Loading branch information
dcac759
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manually tested via Saucelabs on IE8,9,11, Safari, and to some degree iOS & Android.
Looks good.