Releases: zurb/tribute
Releases · zurb/tribute
Fix noMatchTemplate Customization and menu going outside of viewport.
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
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.
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
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
Fix issue with defaultTemplate and deactivation
Fix issue with utils import.
For some, the prepackaged version would require a utils package that did not get loaded. 534d5e9
Fix IE11 Compatibility with reduce polyfill.
Loop through menu items and TypeScript support
Add support for replacement text suffix
Optionally specify a custom suffix for the replace text: 68b75b3