Commit 32e0aa2
authored
[ui] Try to fix weird resize loop on asset plot (#32978)
## Summary & Motivation
One of our users is reporting strange behavior with asset plot charts, where the chart automatically resizes itself smaller and smaller.
I'm going to try to fix this by putting a wrapper div with a set height, and remove the `width` and `height` props from the `Line` component.
I'm not able to repro the issue myself, but this approach seems worth a try.
## How I Tested These Changes
View asset plots, verify that they render properly.1 parent 4c63833 commit 32e0aa2
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
184 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
185 | 190 | | |
0 commit comments