fix(devtools): resolve non-props attributes warning for NuxtDevtoolsInspectPanel#930
fix(devtools): resolve non-props attributes warning for NuxtDevtoolsInspectPanel#930
Conversation
📝 WalkthroughWalkthroughThe change modifies NuxtDevtoolsInspectPanel.vue to explicitly disable automatic attribute inheritance with Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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 |
🔗 Linked issue
resolves #929
❓ Type of change
📚 Description
This PR fixes the "Extraneous non-props attributes" warning in the NuxtDevtoolsInspectPanel component.
The warning was caused by the component having multiple root nodes, which prevented Vue from automatically deciding where to apply attributes.
Instead of restructuring the DOM, which could lead to CSS clipping or z-index issues for the toast notification, I implemented manual attribute binding.
