2

I'd like to customize my Display Template so that the Hover Panel appears only when a user clicks on an item in the search result. The default behavior is the hover panel appears when a user mouse's over the item in the search result. Thanks!

  • You are asking for how to disable the Hover Panel and adding a link that will open a dialog similar to the Hover Panel? Remember that the click on item is reserved for opening the item – Kasper Bo Larsen Aug 9 '18 at 4:32
3

Hi Martin,

I have achieve your requirement , please change Event onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" to onclick="_#= ctx.currentItem_ShowHoverPanelCallback =#_" in your Search Display Template.

  • I did exactly that. It worked perfectly. Thank you. – Martin Muldoon Aug 9 '18 at 21:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.