fix: drop deprecated prop so no JS error is shown#2228
fix: drop deprecated prop so no JS error is shown#2228stalniy merged 1 commit intoakash-network:mainfrom
Conversation
WalkthroughRemoved the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2228 +/- ##
==========================================
- Coverage 47.59% 47.25% -0.34%
==========================================
Files 1032 1022 -10
Lines 29258 28909 -349
Branches 7564 7535 -29
==========================================
- Hits 13926 13662 -264
- Misses 14952 14953 +1
+ Partials 380 294 -86
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
| width: 250 | ||
| } | ||
| }, | ||
| getContentAnchorEl: null, |
There was a problem hiding this comment.
question(blocking): @jzsfkzm could you please explain a bit why we need to remove it? I looked into MenuProps and I don't see this property but there is anchorEl. Should we use it instead?
There was a problem hiding this comment.
question(blocking): @jzsfkzm could you please explain a bit why we need to remove it? I looked into MenuProps and I don't see this property but there is
anchorEl. Should we use it instead?
Sure! With this prop being present, when you click the Select for selecting services, there's a JS warning thrown in Developer Console:

This is not showing in prod for some reason though. Anyway, docs for 5.x suggest just to remove the prop, and anchorOrigin and transformOrigin are well enough for positioning the menu.
34e2923 to
1cf09e7
Compare
closes #2105
Summary by CodeRabbit