Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1122431 - [Stingray] UI-Transition - Change app modal dialog to TV U... #29286

Conversation

sean2449
Copy link
Contributor

@sean2449 sean2449 commented Apr 1, 2015

...I spec

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

};

AppModalDialog.prototype.focus = function amd_show() {
// XXX: Focusing smart-button fails at the second time popup if we don't
// postpone it. We need to find the root cause.
setTimeout(function() {
document.activeElement.blur();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still need to blur the active element before focus this.element.

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@@ -20,6 +20,10 @@
exports.AppModalDialog = function AppModalDialog(app) {
this.app = app;
this.containerElement = app.element;
this.smartBubble = document.createElement('smart-bubbles');
this.smartBubble.addEventListener('all-items-bubbled', function() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same problem, shouldn't we append dom elements that we want to bubble inside smart-bubbles? Or it's pretty weird to make it a dom component that have HTML tag of itself.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with rex. Should we put the smart bubble to view()??

mozilla-autolander-deprecated added a commit that referenced this pull request Apr 21, 2015
@mozilla-autolander-deprecated mozilla-autolander-deprecated merged commit f4d3171 into mozilla-b2g:master Apr 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants