Open HuakunShen opened 4 weeks ago
The only way I can think of to bypass the error message is overwriting console.error
const originalError = console.error;
console.error = function (...args) {
if (args.some(arg => typeof arg === "string" && arg.includes("aria-hidden"))) {
return; // Skip error messages with "aria-hidden"
}
originalError.apply(console, args); // Call the original error
};
https://github.com/unovue/shadcn-vue/issues/833