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!

1
  • 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 Aug 9, 2018 at 4:32

1 Answer 1

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.

1
  • I did exactly that. It worked perfectly. Thank you. Aug 9, 2018 at 21:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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