]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix #8551: Notifications are displayed in parts on an Asus TF101
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Thu, 26 Apr 2012 12:39:52 +0000 (12:39 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Thu, 26 Apr 2012 12:39:52 +0000 (12:39 +0000)
svn changeset:23639/svn branch:6.8

src/com/vaadin/terminal/gwt/client/ui/VNotification.java

index 27407c55aa630da075809c4d5d008f05db9867cc..efac4ad9a33d21748be2f0a7e020aff663586148 100644 (file)
@@ -151,6 +151,11 @@ public class VNotification extends VOverlay {
         }
         super.show();
         setPosition(position);
+        /**
+         * Android 4 fails to render notifications correctly without a little
+         * nudge (#8551)
+         */
+        Util.setStyleTemporarily(getElement(), "display", "none");
     }
 
     @Override