Skip to content

Commit

Permalink
5630 - Add attribute pointer-events
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalia_Loginova1 authored and Natalia_Loginova1 committed Nov 28, 2024
1 parent 5cc79e6 commit f959107
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,7 @@ export abstract class BaseMonomerRenderer extends BaseRenderer {
const useElement = this.rootElement
?.append('use')
.attr('xlink:href', config.backgroundId)
.attr('pointer-events', 'none')
.attr('class', 'modification-background');

if (fillColor) {
Expand Down

0 comments on commit f959107

Please sign in to comment.