Skip to content

Releases: zurb/tribute

Dropdown positioning fix, build improvements and z-index fix

03 Oct 15:50
Compare
Choose a tag to compare

This release improves the dropdown positioning, npm package publication and z-index customization issues.

Changes:

  • BREAKING CHANGE: We have removed z-index from the JavaScript, it is now only set in the CSS so it can be overridden in your own styles. #307
  • Menu Positioning: Improve menu positioning when the input isn't the lowest element on the page. #331
  • NPM package missing files: Fixed an issue where the src directory was not included in the NPM release and some other smaller build improvements. #317, #316, #315

Thanks to @iskandiar, @aldhsu, @DanielRuf for their contributions to this release!

Upgrade to Babel 7 & Cleanup Build System

30 Aug 21:02
Compare
Choose a tag to compare

This is a release to cleanup the build folder that was causing conflicts with TypeScript as well as upgrade to Babel 7.

  • Remove old build setup #312
  • Upgrade to Babel 7 #309

Thanks @sibiraj-sr and @DanielRuf for the help with this!

Security updates and bug fixes

02 Aug 19:18
Compare
Choose a tag to compare
  • Updated several vulnerable development dependencies.
  • Add context and instance 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

07 May 22:16
Compare
Choose a tag to compare
  • Improve performance for large lists by introducing an optional limit, menuItemLimit. @andreynering #240

Thanks!

Testing and Highlights

06 May 20:35
Compare
Choose a tag to compare
  • Fix highlight for cursor interaction with the menu: @MalayaliRobz #222
  • Error fetching remote values: @badz0 #225
  • Basic test coverage, thanks @MalayaliRobz #253
  • Fix z-index typo. 8af4242

Thank you all for contributing and reporting for this release!

Tribute Autocomplete

27 Feb 19:13
Compare
Choose a tag to compare
  • Add support for autocomplete mode: #197
  • Fix menu highlight and scroll functionality: #191
  • Several security updates and readme changes.
  • Added test framework.

Special thanks to @MalayaliRobz and @rcavezza for your help on this release!

Remove resetSelection

30 Jan 17:14
Compare
Choose a tag to compare

resetSelection is no longer needed.

Set default noMatchTemplate

30 Jan 17:11
Compare
Choose a tag to compare

Without a default noMatchTemplate then hitting backspace will not trigger the dropdown again. #53 (comment)

Fix bug in last release related to mouseup

21 Jan 17:28
Compare
Choose a tag to compare

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!

04 Jan 21:52
Compare
Choose a tag to compare

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!