Using BugHerd on Modals
- Last updated on May 4, 2023 at 2:24 AM
If your project site uses modals, you might experience issues with the BugHerd sidebar (including when creating a task) when a modal is open. The most common issue is not being able to type into an input field in BugHerd, including when creating a task.
To resolve this issue, add the following code snippet as the first script tag in the head of your page:
<script>document.addEventListener("focus",e=>{e.srcElement?.tagName==="BUGHERD-SIDEBAR"&&e.stopImmediatePropagation()},!0);</script>
After you've added the above code snippet, refresh your project site and BugHerd should now be fully functional, even if you have modals open.