Releases: zurb/tribute
Upgrade to Babel 7 & Cleanup Build System
This is a release to cleanup the build folder that was causing conflicts with TypeScript as well as upgrade to Babel 7.
Thanks @sibiraj-sr and @DanielRuf for the help with this!
Security updates and bug fixes
- Updated several vulnerable development dependencies.
- Add
context
andinstance
to tribute-replaced event. #237 - Skip local search: #271
new Tribute({ searchOpts: { skip: true } });
- Fix cursor up and down not working on textarea with autocomplete. #280
- Accurately find
li
in html templates: #297
Thanks to @andreynering, @onhate, @Postlagerkarte, and @mlturner88 for your help with this release!
Introduce menuItemLimit
- Improve performance for large lists by introducing an optional limit,
menuItemLimit
. @andreynering #240
Thanks!
Testing and Highlights
Tribute Autocomplete
Remove resetSelection
resetSelection
is no longer needed.
Set default noMatchTemplate
Without a default noMatchTemplate
then hitting backspace will not trigger the dropdown again. #53 (comment)
Fix bug in last release related to mouseup
3.5.0
introduced an update that bound to mouseup instead of mousedown. This release reverts that change and cleans out some old unused bindings.
Positioning, Event Binding and Space event selection, oh my!
This update fixes some position issues on mobile-size device screens of the menu as well as introduces some new configuration options.
- Correctly position menu on mobile devices with limited screen real estate. #177 Thank you @fynnfeldpausch!
- Use mouseup instead of mousedown for event binding. #176 Thank you again @fynnfeldpausch!
- Return mention text in lookup when
lookup
is a function. 3e805c5
lookup: function (item, mentionText) {
...
}
- Add support for selecting match when spacebar is pressed. This is disabled by default and can been enabled by setting
spaceSelectsMatch
to true in your config. 994fbf2 Thank you @htmltiger for the suggestion.
Thank you to everyone who contributed to this release!
Shadow DOM & Spaces
This release have several bug fixes and security updates:
- Security updates to build system:
93f522f, 13d1526, f9afedd - Fix Shadow DOM compatibility. bfa3ba7
- Fix allowSpaces configuration: 8b42cc9
Thank you to everyone who helped make this release possible including @fishgrind and @BorntraegerMarc!