# How to off stickyToolButton reply section?

**URL:** <https://pdfjs.community/t/how-to-off-stickytoolbutton-reply-section/1678>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [May 16, 2022, 10:00am UTC](https://pdfjs.community/t/how-to-off-stickytoolbutton-reply-section/1678 "2022-05-16T10:00:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arman](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@arman](https://pdfjs.community/u/arman)\
**Post date:** [May 16, 2022, 10:00am UTC](https://pdfjs.community/t/how-to-off-stickytoolbutton-reply-section/1678/1 "2022-05-16T10:00:33Z")

</div>

**Which product are you using?**  
PDF.js Express Plus

**PDF.js Express Version**  
8.0.1

**Detailed description of issue**  
I just want to know how to off stickyToolButton reply section

**Expected behaviour**  
Want to off stickyToolButton reply section

**Does your issue happen with every document, or just one?**  
Yes. For every document.

\*\*Image \*\*

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/f14c0d6a06f896ddca92aab33fa7e404d48cd9a9.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [May 16, 2022, 10:00am UTC](https://pdfjs.community/t/how-to-off-stickytoolbutton-reply-section/1678/2 "2022-05-16T10:00:36Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Customizing WebViewer UI Popups](https://pdfjs.express/documentation/ui-customization/customizing-popup.8)
- [Customize annotation tools - Extend built in tools](https://pdfjs.express/documentation/annotation/customizing-tools.8#extend-built-in-tools)
- [Add signature fields to PDFs - createSignHereElement](https://pdfjs.express/documentation/signature/signature-field.8#createsignhereelement)

APIs:
- [UI - disableReplyForAnnotations(isReplyDisabledCallback)](https://pdfjs.express/api/UI.html#.disableReplyForAnnotations__anchor)
- [UndefinedgetInstance( [element])](https://pdfjs.express/api/global.html#getInstance__anchor)
- [Core.AnnotationManager - createAnnotationReply(annotation, initialText)](https://pdfjs.express/api/Core.AnnotationManager.html#createAnnotationReply__anchor)

Forums:
- [Custom Redact button with Rectangle annotation](https://pdfjs.community/t/custom-redact-button-with-rectangle-annotation/222/5)
- [Undo / redo on custom buttons](https://pdfjs.community/t/undo-redo-on-custom-buttons/194/2)
- [Force tool button panToolButton starting enabled by default](https://pdfjs.community/t/force-tool-button-pantoolbutton-starting-enabled-by-default/1449/1)

---

<div class="post-metadata">

**Author:** ![arman](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@arman](https://pdfjs.community/u/arman)\
**Post date:** [May 18, 2022, 4:13am UTC](https://pdfjs.community/t/how-to-off-stickytoolbutton-reply-section/1678/4 "2022-05-18T04:13:54Z")

</div>

Hey @Logan. Hope you are well. I need your help here.

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [May 18, 2022, 4:19pm UTC](https://pdfjs.community/t/how-to-off-stickytoolbutton-reply-section/1678/5 "2022-05-18T16:19:03Z")

</div>

Hey there,

Here is some code to disable the replies:

```javascript
instance.UI.disableReplyForAnnotations((annotation) => {
    return annotation instanceof instance.Core.Annotations.StickyAnnotation
  })

```

Thanks!  
Logan
