Commit b1b5764
[Page] Use state callback in measure actions (#7361)
Partial fix for #7330
[Spin link](https://admin.web.web-1mvc.kyle-durand.us.spin.dev/store/)
Part two might be a css based fix. The heavy re-rendering in the admin
introduced with the React 18 work is causing a ton of layout thrashing
in this component. The root cause will definitely need to be fixed but
we'll do what we can on our end in the meantime
Co-authored-by: Henry Yi <[email protected]>1 parent b0445cf commit b1b5764
File tree
2 files changed
+17
-7
lines changed- .changeset
- polaris-react/src/components/ActionMenu/components/Actions
2 files changed
+17
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 83 | | |
89 | | - | |
90 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
| |||
0 commit comments