-
Notifications
You must be signed in to change notification settings - Fork 481
Open
Labels
Description
Describe the bug / 问题描述
I'm using the Funnel visualization and wanting to toggle comparison mode (i.e. conditionally set compareField based off a state variable). This works for the most part, but for some reason the inside labels appear to get drawn over. Here's an example using a small reproduction based off the example:
One (not so great) workaround is to set a key on the Funnel component to force it to unmount/remount when toggling the comparison.
Reproduction link / 复现链接
https://stackblitz.com/edit/react-9zvlgt6u?file=index.js
Steps to Reproduce the Bug or Issue / 重现步骤
- Open the provided StackBlitz link.
- Check the "Compare" checkbox.
- Observe the inside labels on the left side are briefly shown and then hidden.
Version / 版本
🆕 2.x
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他
