Skip to content

Commit

Permalink
Merge pull request #3642 from VisActor/fix/region-foreground-event
Browse files Browse the repository at this point in the history
fix: fix invisible region blocking mark events
  • Loading branch information
xile611 authored Jan 7, 2025
2 parents a61dee4 + ee47b30 commit b0fdcb4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@visactor/vchart",
"comment": "fix: fix invisible region blocking mark events, #3638",
"type": "none"
}
],
"packageName": "@visactor/vchart"
}
3 changes: 2 additions & 1 deletion packages/vchart/src/region/region.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ export class Region<T extends IRegionSpec = IRegionSpec> extends LayoutModel<T>
this._foregroundMark,
{
...this._spec.style,
fillOpacity: 0
fillOpacity: 0,
pickable: false
},
'normal',
AttributeLevel.User_Mark
Expand Down

0 comments on commit b0fdcb4

Please sign in to comment.