diff --git a/common/changes/@visactor/vchart/fix-region-foreground-event_2025-01-07-07-02.json b/common/changes/@visactor/vchart/fix-region-foreground-event_2025-01-07-07-02.json new file mode 100644 index 0000000000..54a04a78fd --- /dev/null +++ b/common/changes/@visactor/vchart/fix-region-foreground-event_2025-01-07-07-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vchart", + "comment": "fix: fix invisible region blocking mark events, #3638", + "type": "none" + } + ], + "packageName": "@visactor/vchart" +} \ No newline at end of file diff --git a/packages/vchart/src/region/region.ts b/packages/vchart/src/region/region.ts index 9664bb243a..1cd6fd8791 100644 --- a/packages/vchart/src/region/region.ts +++ b/packages/vchart/src/region/region.ts @@ -213,7 +213,8 @@ export class Region extends LayoutModel this._foregroundMark, { ...this._spec.style, - fillOpacity: 0 + fillOpacity: 0, + pickable: false }, 'normal', AttributeLevel.User_Mark