# Sp-button with svg not disabled

**URL:** <https://forums.creativeclouddeveloper.com/t/sp-button-with-svg-not-disabled/5274>\
**Category:** UXP Plugin API\
**Created:** [September 26, 2022, 11:30am UTC](https://forums.creativeclouddeveloper.com/t/sp-button-with-svg-not-disabled/5274 "2022-09-26T11:30:18Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Karmalakas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/karmalakas/32/1048_2.png) [@Karmalakas](https://forums.creativeclouddeveloper.com/u/Karmalakas)\
**Post date:** [September 30, 2022, 5:37pm UTC](https://forums.creativeclouddeveloper.com/t/sp-button-with-svg-not-disabled/5274/11 "2022-09-30T17:37:34Z")

</div>

I tried to play around and it seems that `:disabled` selector is just not supported. Same for `sp-action-button`

Also even on a not disabled button when you add `pointer-events: none`, it works on a button itself (click is not triggered), but icon still receives the event and triggers a click (same happens on a stock **disabled** `sp-button` - click is triggered if clicked on icon)

I’ll just ping @kerrishotts here. Sometimes these restrictions just doesn’t make sense 😕

I have a feature request for my plugin which also requires dealing with disabled buttons, but it appears I’ll have to inform user, that it’s blocked by Adobe

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/sp-button-with-svg-not-disabled/5274)._
