Skip to content

Releases: zurb/tribute

Fix noMatchTemplate Customization and menu going outside of viewport.

02 Oct 18:25
Compare
Choose a tag to compare

This release fixes an issue with overriding the default no match template and also fixes a bug when users click on the noMatchTemplate. In addition, thanks to @BorntraegerMarc, some issues with the menu showing outside of the viewport have been corrected.

  • Fix menu position in viewport and container: #81
  • Fix error in console when noMatchTemplate is clicked: #80, #53 (comment)
  • Fix support for null return in noMatchTemplate`

Thank you @TetianaP, @lihi-intsights, and @BorntraegerMarc for reporting and helping resolve these issues!

Fixes an issue with Shadow DOM implementations and showMenuForCollection for non contenteditable elements

03 Sep 20:45
Compare
Choose a tag to compare
  • this.getDocument().activeElement does not work for shadow DOM implementations: #77
  • Get showMenuForCollection working with non-contenteditable elements: #75

Thanks to @BorntraegerMarc and @alexisbernard for the PRs!

Fix external trigger handling.

23 Aug 18:55
Compare
Choose a tag to compare

A small bug was introduced in 3.0.1 that broke external triggers. Fixed in this update: 38c6707

Event binding issues, IE11 bugs, and scroll issues

23 Aug 18:44
Compare
Choose a tag to compare

Fixes several issues:

  • Fix IE input errors experienced when clicking off of an empty input. c89610d (@First87)
  • Bug with scrollIntoView, should not scroll to the top of the input, should scroll to the top of the menu aligned at current caret position. 5e76def
  • Off click and menu hide event issues introduced in V3 have been fixed ec3a63b
  • Fix bug with default noMatchTemplate where search would no longer trigger after no match on backspace. baf3df5

Thank you all for reporting these bugs!

Version 3

18 Aug 22:51
Compare
Choose a tag to compare

What's changed

  • Manually trigger Tribute instances. 94a9d05
  • Pass original event to tribute-replaced. Also stop original event propagation. 1b7e45b
  • Don't rebuild the entire menu on window.resize. aabdfa4
  • Return matched item in tribute-replaced. b42e970

Plus some other code cleanup.

Fix issue with defaultTemplate and deactivation

15 May 17:24
Compare
Choose a tag to compare

Fix issue with utils import.

03 May 20:31
Compare
Choose a tag to compare

For some, the prepackaged version would require a utils package that did not get loaded. 534d5e9

Fix IE11 Compatibility with reduce polyfill.

27 Apr 21:00
Compare
Choose a tag to compare

Loop through menu items and TypeScript support

14 Apr 16:56
Compare
Choose a tag to compare
  • TypeScript support #59
  • Loop through menu items #60

Add support for replacement text suffix

14 Feb 17:35
Compare
Choose a tag to compare

Optionally specify a custom suffix for the replace text: 68b75b3