Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paper menu, paper select and paper autocomplete #395

Merged
merged 136 commits into from
Oct 27, 2016
Merged

Conversation

miguelcobain
Copy link
Owner

No description provided.

@miguelcobain miguelcobain added this to the 1.0 milestone Jun 16, 2016
@miguelcobain miguelcobain self-assigned this Jun 16, 2016
@miguelcobain miguelcobain changed the title Paper menu paper menu, paper select and paper autocomplete Jul 8, 2016
default:
break;
scrollTo(option /*, e */) {
if (!self.document || !option) {

Choose a reason for hiding this comment

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

self is undefined

}
},
let publicAPI = this.get('publicAPI');
let optionsList = self.document.getElementById(`ember-power-select-options-${publicAPI.uniqueId}`);

Choose a reason for hiding this comment

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

self is undefined

Copy link
Contributor

Choose a reason for hiding this comment

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

The global self is a shortcut to window.self. They are both the very same object.

Copy link
Contributor

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

Understood. When I pointed my existing project to the latest commit f780b54 I got those 2 lines as lint errors.

Use ember-power-select 1.0.0-beta.23's new `defaultHighlighted` option to override its default highlighting (on open and filter/search) to match AM's behaviour
@v3ss0n v3ss0n mentioned this pull request Oct 13, 2016
@miguelcobain
Copy link
Owner Author

@xomaczar @ibarrick what is exactly missing?

@xomaczar
Copy link
Contributor

@miguelcobain autocomplete is ready to be merged. The scroll mask and searchTextChanged I'm working on can wait. Let's merge it finally - keep the warning sign in demo app - some autocomplete API might change slightly

miguelcobain and others added 3 commits October 14, 2016 16:28
* kludge to fix glimmer2 support pending interaction from ember team

* fixed issue with ember 2.7+ select-options

* API change for autocomplete and support for tracking search text

* fixed floating label issue

* added readonly helper to searchText
@miguelcobain
Copy link
Owner Author

paper-select remaining todos:

  • Keyboard quick filter is something everyone uses on desktop - e.g open states select and type FL should highlight FL
  • Async in demo does not display loading/progress navigation
  • Keyboard up/down keys don't work consistently when paper-select is open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants