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

Update and Undo Breaking Changes #9

Closed
wants to merge 72 commits into from

Conversation

adrian-enspired
Copy link

@adrian-enspired adrian-enspired commented May 31, 2019

Brings our production branch up to date with latest upstream release; removes upstream changes that were dumb and broke things.

fixes https://nexcess.atlassian.net/browse/NSD-16851

ericboehs and others added 30 commits November 13, 2017 17:10
After tabbing to a selectr element, pressing enter wouldn't activate the
selected state to display the selectr container.

After dismissing the dialog (e.g. via pressing enter), the tab focus was
lost thus starting you back over at the top of the document (making
using keyboard only navigation painful).
This fixes a bug, where no items were selected during live search if you use optgroups. This can also be verified on the original demo page.
The original approach to get the first child from live search dropdown in Selectr.prototype.search on line 1926 was to use firstElementChild.
But this returns the pseudo optgroup li item and not a real result. This can be fixed by using querySelector(".selectr-option:not(.excluded)").
Fixes various errors when moving through search results with arrow keys if using optgroups.
Fixes navigation in optgroup search results
Bugfix for missing index on search with optgroups
Set tabindex to 0 or "un-ordered"
Previously checked when an existing option matched any substring of the setValue option. This meant doing setValue("Book Review 2016") would match "Book" "Review", "2016" "Book Review" and "Book Review 2016". Now it treats each tag as a whole unit and will only match "Book Review 2016".
Adds noResults property to prevent onChange event from firing when k…
reno1979 and others added 27 commits February 7, 2019 12:41
improved bugfix for the tabSeperators
Added check for data length before default selecting first element
Mobius1#93 defaultSelected not working as expected
Checking for items before default selecting first item (bugfix)
New param for config and clear last item
@adrian-enspired adrian-enspired changed the title Undo Breaking Changes (from 37bf850) Update and Undo Breaking Changes May 31, 2019
@adrian-enspired
Copy link
Author

adrian-enspired commented May 31, 2019

Mobius1#122 was just merged, so we should pull upstream and use that instead : )

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

Successfully merging this pull request may close these issues.