Skip to content

Commit

Permalink
fix: fix invisible region blocking mark events
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoluoHe committed Jan 7, 2025
1 parent 264082d commit 756c195
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 756c195

Please sign in to comment.