Merge pull request #1713 from shackbarth/23966
authorLinda Nichols <lynnaloo@gmail.com>
Wed, 30 Jul 2014 15:48:02 +0000 (11:48 -0400)
committerLinda Nichols <lynnaloo@gmail.com>
Wed, 30 Jul 2014 15:48:02 +0000 (11:48 -0400)
issue #23966: apply opacity hack on resize

lib/enyo-x/source/views/module_container.js

index dff7f03..e7ccd5e 100644 (file)
@@ -56,6 +56,12 @@ trailing:true, white:true*/
         autoDismiss: false, modal: true, floating: true, scrim: true},
       {name: "navigator", kind: "XV.Navigator"}
     ],
+    resizeHandler: function () {
+      this.inherited(arguments);
+      if (this.$.notifyPopup.showing) {
+        this.$.notifyPopup.applyStyle("opacity", 1); // XXX not sure why this hack is necessary.
+      }
+    },
     activate: function () {
       this.goToNavigator();
       this.$.navigator.activate();