Manually trigger focus blur might make blur not work
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.0.2
### Steps to reproduce
```js
option = {
grid: [{
right: '55%'
}, {
left: '55%'
}],
xAxis: [{
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
}, {
type: 'category',
gridIndex: 1,
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
}],
yAxis: [{
}, {
gridIndex: 1
}],
series: [{
type: 'bar',
emphasis: {
focus: 'self'
},
data: [150, 230, 224, 218, 135, 147, 260]
}, {
type: 'bar',
xAxisIndex: 1,
yAxisIndex: 1,
emphasis: {
focus: 'self'
},
data: [150, 230, 224, 218, 135, 147, 260]
}]
};
setTimeout(function() {
chart.on('mouseover', { seriesIndex: 0 }, function (event) {
chart.dispatchAction({
type: 'highlight',
seriesIndex: 1,
dataIndex: event.dataIndex
});
});
}, 10);
```
Hover the bar series in the left cartesian.
### What is expected?
Both the left and right cartesian have focus-blur effect.
### What is actually happening?
Only the right cartesian has focus-blur effect.
Contributor guide
Assessment
This issue has not been assessed yet.