-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix for keyboard navigationwhen search-enabled is false #1543
Conversation
…bled is false Closes angular-ui#375 PRs angular-ui#1114 and angular-ui#1109
Changes to |
aria-owns="ui-select-choices-{{ $select.generatedId }}" | ||
aria-label="{{ $select.baseTitle }}" | ||
aria-activedescendant="ui-select-choices-row-{{ $select.generatedId }}-{{ $select.activeIndex }}" | ||
role="combobox" |
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.
Fix indentation to 2 spaces, no tabs
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.
Done, please check if it's what you expected...
|
Can the owner of this project resolve the conflicts and merge this pull request #1543 into the angular-ui-select master please? I really need this one specific fix. |
@wesleycho, @user378230 is everything ok for merging this? or do I miss or mess up something? |
@fcaballero I think you merged from master rather than rebased. The only commit should be the one with your changes. Note also 2 & 3 in my other response:
|
- Fix sourcemap generation - Upgrade plugins
- This adds the necessary files (.gitattributes and .editorconfig) to ensure line endings use lf
- Optimize running dynamic width calculations when resizing
Resolves bad changes made in angular-ui#1541 which caused no select.css to be generated as part of the build.
- Converts previous example pages to invidual html partials which are wrapped in standard header and footer as part of a docs build process - Updates all examples to angular v1.5 making use of controllerAs syntax - Standardises the look and feel across examples - Creates dedicated github pages page (docs/index.html) which has links to all examples - Adds an "edit in plunkr" button to launch the example in a plunkr session - Automates the deployment to github pages using travis ci whenever the master branch is built. - General tidy up of README and index docs Closes angular-ui#112
- Prevent accidental removal of a tagged item that subsequently becomes invalid Closes angular-ui#1359
- Ensure at least one item is highlighted before selecting on tab keypress Closes angular-ui#1030
- Explicitly disallow focusing of list, mainly fixes behavior in Firefox Closes angular-ui#898
This reverts commit 06bbd31.
Previously the template was compiled, edited, and then recompiled. This was unnecessary as the changes we unrelated to the scope and so could be made before the link function was run. This change, moves the DOM transformations to the compile function so the directive does not have to be compiled manually. Fixes angular-ui#1000
- Show matches in selectivize template when search is disabled Closes angular-ui#861
- Correctly remove sortable classes from elements on `dragend` Closes angular-ui#902
- Change inputs to `type="search"` - Change to `autocomplete="off"` as per HTML spec Closes angular-ui#991
filenames plugin appeared to be causing header and footer additions to be run twice. Also removes dodgy character at start of header html partial
Do not overflow matched item text out of select block. Closes angular-ui#1337
This reverts commit 9ddc48e.
hide clear button if ui-select is disabled Closes angular-ui#1388 and angular-ui#980
Use triple equals to determine if the selection matches one of the choices. Fixes angular-ui#1328
perf: change test in ctrl.isActive before : ( itemIndex < 0 && ctrl.taggingLabel !== false ) ||( itemIndex < 0 && ctrl.taggingLabel === false) after : itemIndex < 0
use first taggingToken contained in paste data for splitting (previously only first token was used) Closes angular-ui#1566
…bled is false Closes angular-ui#375 PRs angular-ui#1114 and angular-ui#1109 fix(indentation) use 2 spaces, add white-space
Can you guys please resolve the conflicts and merge this fix in? It has been hanging out there for a while. |
@ramonjsantiago want to have a go yourself? The first post has all the details you need 😃 |
Fix issue where keyboard navigation was disabled when searchEnabled was set to false. Caused by hiding the input box which prevent key events from propagating to the directive. Resolved hiding the input offscreen when searchEnabled is false. Fixes angular-ui#1059, fixes angular-ui#917, fixes angular-ui#589, fixes angular-ui#375 Closes angular-ui#1543, closes angular-ui#1114, closes angular-ui#1109 (supersedes all)
* fix(searchEnabled): maintain keyboard nagivation Fix issue where keyboard navigation was disabled when searchEnabled was set to false. Caused by hiding the input box which prevent key events from propagating to the directive. Resolved hiding the input offscreen when searchEnabled is false. Fixes #1059, fixes #917, fixes #589, fixes #375 Closes #1543, closes #1114, closes #1109 (supersedes all) * fix(selectize): show placeholder when search disabled Previously when searchEnabled was set to false, the placeholder would also be hidden on the selectize theme. This fix sets the search input to disabled rather then hidden when the searchEnabled attribute is set to false. Fixes #1145, fixes #949, fixes #691 * fix(searchEnabled): Prevent searching when disabled Previously, even when search-enabled was set to false, users could still type in text and filter the list. This made disabling the search feature pointless. This fix prevents text entry to the search input and thus disables filtering. Fixes #1658
* fix(searchEnabled): maintain keyboard nagivation Fix issue where keyboard navigation was disabled when searchEnabled was set to false. Caused by hiding the input box which prevent key events from propagating to the directive. Resolved hiding the input offscreen when searchEnabled is false. Fixes angular-ui#1059, fixes angular-ui#917, fixes angular-ui#589, fixes angular-ui#375 Closes angular-ui#1543, closes angular-ui#1114, closes angular-ui#1109 (supersedes all) * fix(selectize): show placeholder when search disabled Previously when searchEnabled was set to false, the placeholder would also be hidden on the selectize theme. This fix sets the search input to disabled rather then hidden when the searchEnabled attribute is set to false. Fixes angular-ui#1145, fixes angular-ui#949, fixes angular-ui#691 * fix(searchEnabled): Prevent searching when disabled Previously, even when search-enabled was set to false, users could still type in text and filter the list. This made disabling the search feature pointless. This fix prevents text entry to the search input and thus disables filtering. Fixes angular-ui#1658
There are other PR with some fix for #375 but I got some problem trying to rebase, therefor I added those changes in a clean master in order to don't have problems when merged.
The PRs mentioned are #1114 and #1109