1 parent fb4ee45 commit 747c63eCopy full SHA for 747c63e
1 file changed
src/lazy-components/design-library/design-library-list/design-library-list-item.js
@@ -97,7 +97,7 @@ const DesignLibraryListItem = memo( props => {
97
}
98
99
const tag = target.tagName
100
- return tag === 'INPUT' || tag === 'TEXTAREA' || tag === 'SELECT' || target.isContentEditable
+ return tag === 'INPUT' || tag === 'TEXTAREA' || tag === 'SELECT' || tag === 'BUTTON' || target.isContentEditable
101
102
103
const buttonAttributes = {
0 commit comments